Merge branch 'master' of https://github.com/dpree/couchrest_model into dpree-master
This commit is contained in:
commit
f8d24550d9
|
@ -351,7 +351,7 @@ CouchRest Model supports a few configuration options. These can be set either fo
|
||||||
base or for a specific model of your chosing. To configure globally, provide something similar to the
|
base or for a specific model of your chosing. To configure globally, provide something similar to the
|
||||||
following in your projects loading code:
|
following in your projects loading code:
|
||||||
|
|
||||||
CouchRestModel::Model::Base.configure do |config|
|
CouchRest::Model::Base.configure do |config|
|
||||||
config.mass_assign_any_attribute = true
|
config.mass_assign_any_attribute = true
|
||||||
config.model_type_key = 'couchrest-type'
|
config.model_type_key = 'couchrest-type'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue