We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Synopsys:
class Comment < ActiveRecord::Base belongs_to :commentable, :polymorphic => true, :inverse_of => :comments attr_accessible :commentable_id, :commentable_type end # for info class Team < ActiveRecord::Base has_many :comments, :as => :commentable, :inverse_of => :commentable end RailsAdmin.config |config| do config.model Comment do configure :commentable do # configuration here end end end
More here