Sha256: 04b7bf0c58b61ccee570f4ec31db37fae9a639a8486c40198cef12ad949bddfa

Contents?: true

Size: 276 Bytes

Versions: 8

Compression:

Stored size: 276 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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
acts-as-joinable-0.1.6.1 test/lib/group.rb
acts-as-joinable-0.1.6 test/lib/group.rb
acts-as-joinable-0.1.5 test/lib/group.rb
acts-as-joinable-0.1.4 test/lib/group.rb
acts-as-joinable-0.1.3 test/lib/group.rb
acts-as-joinable-0.1.1 test/lib/group.rb
acts-as-joinable-0.1.0 test/lib/group.rb
acts-as-joinable-0.0.6 test/lib/group.rb