Sha256: 0f3d370eb96881499615a3208c5e69e1c3b4769e0701ce0782ccbc9f5e176349

Contents?: true

Size: 281 Bytes

Versions: 7

Compression:

Stored size: 281 Bytes

Contents

# include MuckContents::Models::MuckContentable
module MuckContents
  module Models
    module MuckContentable
      extend ActiveSupport::Concern
    
      included do
        has_many :contents, :as => :contentable, :dependent => :destroy
      end
      
    end
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muck-contents-3.1.7 lib/muck-contents/models/contentable.rb
muck-contents-3.1.6 lib/muck-contents/models/contentable.rb
muck-contents-3.1.5 lib/muck-contents/models/contentable.rb
muck-contents-3.1.4 lib/muck-contents/models/contentable.rb
muck-contents-3.1.3 lib/muck-contents/models/contentable.rb
muck-contents-3.1.2 lib/muck-contents/models/contentable.rb
muck-contents-3.1.1 lib/muck-contents/models/contentable.rb