…man readable (e.g. if refers to association field)
…xed handling of start_date and end_date so that they are maintained in the filter_session
…ned set of values rendered as checkboxes instead of a text field for any arbitrary value.
…ue provided by the user in a text field.
… ActionController::Base when configured, use add_active_scaffold_path to add our paths when the action is instantiated.
The custom filters should be loaded in app/controllers/list_filters and the corresponding templates in app/views/active_scaffold_list_filters. Signed-off-by: tvongaza <email@example.com>
…om filters To put customized files unter the plugin directory as mentioned in README is not a good idea (e.g. all files would be lost by updating the plugin). Through this commit you can save the common filter templates under app/views/active_scaffold_list_filters, while filter templates for a single controller can be saved in the template directory for that controller. Signed-off-by: tvongaza <firstname.lastname@example.org>
This is more Rails standard; it is simply achieved using String#underscore method instead of String#downcase. Now you can name e.g. a filter my_special_filter.rb using the partial _my_special.rhtml Signed-off-by: tvongaza <email@example.com>