Closed eugenio-caicedo closed 4 years ago
Yes, MyModel should have column in database named "date" with type as timestamp of date format.
Umm ok, thanks for the help.
@eugenio-caicedo aa supports custom filters using ransackable scopes try such approach https://stackoverflow.com/questions/48776246/custom-activeadmin-filter-for-date-range-complex-logic-in-method
@Fivell I'm not sure but I'll try to do it. Thanks for the suggestion.
I need a custom param but It's not an attribute of my model. I need this param to filter the table with different columns. This is an example:
models/my_model.rb
admin/my_model.rb
But I get an error with that implementation.
I guess the date column is not an attribute.