Sha256: 71a90620ac6dde1c55a33992b37cc6ad8878c4740efae404023006fe46d0a0c4

Contents?: true

Size: 160 Bytes

Versions: 5

Compression:

Stored size: 160 Bytes

Contents

class Belonging < ApplicationRecord

    acts_as_list :belonger

    belongs_to :belonger, polymorphic: true
    belongs_to :belongable, polymorphic: true

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_belongable-2.1.2 lib/generators/templates/model.rb
acts_as_belongable-1.1.2 lib/generators/templates/model.rb
acts_as_belongable-1.1.1 lib/generators/templates/model.rb
acts_as_belongable-1.1.0 lib/generators/templates/model.rb
acts_as_belongable-1.0.0 lib/generators/templates/model.rb