Sha256: 732b4dbadfff6323450be92e6bf3ff2f18acedf1c9dfe10b0392c8416c17f630
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
module Inkwell class BlogItem < ActiveRecord::Base attr_accessible :item_id, :owner_id, :is_reblog, :item_type, :created_at, :updated_at, :owner_type if ::Inkwell::Engine::config.respond_to?('community_table') belongs_to ::Inkwell::Engine::config.community_table.to_s.singularize.to_sym, :foreign_key => :owner_id end belongs_to ::Inkwell::Engine::config.post_table.to_s.singularize.to_sym, :foreign_key => :item_id end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inkwell-1.5.2 | app/models/inkwell/blog_item.rb |
inkwell-1.5.1 | app/models/inkwell/blog_item.rb |