test/lib/asset.rb in acts-as-joinable-0.0.1.7 vs test/lib/asset.rb in acts-as-joinable-0.0.6
- old
+ new
@@ -1,4 +1,4 @@
class Asset < ActiveRecord::Base
- acts_as_joinable_on :tags
- acts_as_joinable
+ joins :tags
+ joins :groups, :source => :group, :as => :child
end