i had three models Product Category and Heureka product is assigned to one category and each one category can be optionaly mapped to heureka Fullname.
i am looking how to write filter on active Admin product page on category.category_name or at heureka.fullname
class Category < ActiveRecord::Base
has_many :product
has_one :heureka
end
class Heureka < ActiveRecord::Base
belongs_to :category
end
class Product < ActiveRecord::Base
belongs_to :category
end