Sha256: 9478945094c629b06d6a0ff1e384b826ceabf2eaf64de78468e66e32ba795a7c

Contents?: true

Size: 312 Bytes

Versions: 16

Compression:

Stored size: 312 Bytes

Contents

class Group < ActiveRecord::Base
  joins :groups, :as => [:parent, :child]
  joins :posts
  joins :photos, :source => :asset, :context => "photos"
  joins :custom_photos, :source => :asset, :context => "custom"
  joins :nesteds, :source => :sub_group, :context => :nested
  #joins_one :manager, :child => {}
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
acts-as-joinable-0.2.6 test/lib/group.rb
acts-as-joinable-0.2.3 test/lib/group.rb
acts-as-joinable-0.2.2 test/lib/group.rb
acts-as-joinable-0.2 test/lib/group.rb
acts-as-joinable-0.1.7.8 test/lib/group.rb
acts-as-joinable-0.1.7.7 test/lib/group.rb
acts-as-joinable-0.1.7.6 test/lib/group.rb
acts-as-joinable-0.1.7.5 test/lib/group.rb
acts-as-joinable-0.1.7.4 test/lib/group.rb
acts-as-joinable-0.1.7.3 test/lib/group.rb
acts-as-joinable-0.1.7.2 test/lib/group.rb
acts-as-joinable-0.1.7 test/lib/group.rb
acts-as-joinable-0.1.6.8 test/lib/group.rb
acts-as-joinable-0.1.6.5 test/lib/group.rb
acts-as-joinable-0.1.6.3 test/lib/group.rb
acts-as-joinable-0.1.6.2 test/lib/group.rb