Adding associations to casted model

This commit is contained in:
Sam Lown 2010-06-17 02:43:17 +02:00
parent 144fff028a
commit fa0ab968a8
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -77,3 +77,4 @@ describe "Assocations" do
end
end