List View Filter / Scope by Has Many Association

178 views
Skip to first unread message

Eric Hochberger

unread,
May 15, 2012, 2:39:12 PM5/15/12
to rails...@googlegroups.com
Is there anyway to add a filter / scope to only display results in in the list view for a has_many association? It currently gives me "undefined method `searchable_columns' for nil:NilClass " if I add :tags as a filters [:tags]

My Post has_many :tags :through => :taggings and I really need the ability to allow my users to choose a tag from a drop down and sort that way. Is it possible?


Sincerely,

Eric Hochberger
er...@mediavine.com
@EricTVF

Office: (954) 519-2181 x 191

David John

unread,
Aug 23, 2012, 9:23:15 AM8/23/12
to rails...@googlegroups.com
+1
Reply all
Reply to author
Forward
0 new messages