Working on adding support for allowing dynamic properties
This commit is contained in:
parent
85cd1308bc
commit
97347e70e3
5 changed files with 43 additions and 7 deletions
|
@ -9,9 +9,11 @@ module CouchRest
|
|||
|
||||
included do
|
||||
add_config :model_type_key
|
||||
add_config :allow_dynamic_properties
|
||||
|
||||
configure do |config|
|
||||
config.model_type_key = 'model'
|
||||
config.allow_dynamic_properties = false
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue