Importent Notes;



1.Default Action with Column name in Active Admin:
 actions name: "Actions"
1.Add Filter with Assosiation in Model [Active Admin]
class Review < ActiveRecord::Base
  belongs_to :event
   validates_presence_of :review
end
class Event < ActiveRecord::Base
   has_many :reviews
 end
App/Admin/review.rb
 filter :event_street_address, as: :string, :label => 'City'



Comments

Popular posts from this blog

Show Reviews Box on Home with Slider

Check Your ageInDays by Javascript