Sha256: cb88432497ca9eded569c34965b128cd67eae63640ef33ad81065029a6e514fe

Contents?: true

Size: 168 Bytes

Versions: 13

Compression:

Stored size: 168 Bytes

Contents

class User
  module Listable
    extend ActiveSupport::Concern
    
    included do
      has_many :lists
      has_many :list_items, through: :lists
    end 
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
voluntary-0.7.1 app/models/concerns/user/listable.rb
voluntary-0.7.0 app/models/concerns/user/listable.rb
voluntary-0.6.0 app/models/concerns/user/listable.rb
voluntary-0.5.2 app/models/concerns/user/listable.rb
voluntary-0.5.1 app/models/concerns/user/listable.rb
voluntary-0.5.0 app/models/concerns/user/listable.rb
voluntary-0.4.0 app/models/concerns/user/listable.rb
voluntary-0.3.0 app/models/concerns/user/listable.rb
voluntary-0.2.4 app/models/concerns/user/listable.rb
voluntary-0.2.3 app/models/concerns/user/listable.rb
voluntary-0.2.2 app/models/concerns/user/listable.rb
voluntary-0.2.1 app/models/concerns/user/listable.rb
voluntary-0.2.0 app/models/concerns/user/listable.rb