Open boonrs opened 11 years ago
Any thoughts on how a date range should look in the URL params? Perhaps just have start_date and end_date url params and if one is nil it's everything after/before, respectively?
I like the idea of two params: start_date and end_date, including your idea for default behavior (start_date nil, then everything before the end_date etc).
Add an action to the crime controller that takes optional parameters and returns data based on: