Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method

This commit is contained in:
Sam Lown 2010-10-22 15:39:12 +02:00
parent 1d1d815435
commit d0ed97ed8b
12 changed files with 65 additions and 112 deletions

View file

@ -12,7 +12,7 @@ module CouchRest
add_config :mass_assign_any_attribute
configure do |config|
config.model_type_key = 'model'
config.model_type_key = 'couchrest-type' # 'model'?
config.mass_assign_any_attribute = false
end
end