app/models/concerns/strong_key_value_store.rb
# Updates specified attributes (keys) in the backing store.
#
# Works just like ActiveRecord::Persistence#update_attributes.
Updates specified attributes (keys) in the backing store.
Updates specified attributes ( keys ) in the backing store .
def update_attributes (hash)
    self.class.permitted_keys.each do |key|
      self.send("#{key}=", hash[key])
    end
    save
  end
def update_attributes ( hash ) self . class . permitted_keys . each do | key | self . send ( "#{key}=" , hash [ key ] ) end save end
Updates specified attributes (keys) in the backing store.
Updates specified attributes ( keys ) in the backing store .
hash