activeadmin_addons icon indicating copy to clipboard operation
activeadmin_addons copied to clipboard

Unable to use search_select_filter on collections

Open heaven opened this issue 4 years ago • 3 comments

For example, with has_many :tags, which yields:

undefined method `tags_eq' for #<Ransack::Search:0x00007f9056792668>

And selected_list_filter doesn't exist.

heaven avatar Feb 21 '21 08:02 heaven

search_select_filter is used with belongs_to associations.

ldlsegovia avatar Aug 03 '21 18:08 ldlsegovia

@ldlsegovia yep but there's no alternative for collections it seems.

heaven avatar Aug 17 '21 20:08 heaven

This is happening to me even though the model has belongs_to for the model I'm trying to build a filter for.....

danielricecodes avatar Jun 22 '23 04:06 danielricecodes