Adding associations to casted model
This commit is contained in:
parent
144fff028a
commit
fa0ab968a8
|
@ -4,6 +4,7 @@ module CouchRest
|
|||
def self.included(base)
|
||||
base.send(:include, ::CouchRest::Mixins::Callbacks)
|
||||
base.send(:include, ::CouchRest::Mixins::Properties)
|
||||
base.send(:include, ::CouchRest::Mixins::Assocations)
|
||||
base.send(:attr_accessor, :casted_by)
|
||||
end
|
||||
|
||||
|
|
|
@ -77,3 +77,4 @@ describe "Assocations" do
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue