Renaming Attribute Protection and solving problem modifying the provided hash to the #attributes= method
This commit is contained in:
parent
1d1d815435
commit
d0ed97ed8b
12 changed files with 65 additions and 112 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue