My intended behavior is to simply search attendances by an exact date.
I don't get an error but no records show up even if I search the
correct date. Also, is there a way to have a cleaner url when
searching that this?
blinksale's invoice filter looks like it's using a bunch of custom
routes and then parsing the parameters. Read up on rails routes to
figure out how to implement these types of urls.
And your conditions look wrong. If you're searching by date, and the
date column in your database is a date type, then you shouldn't be
using 'like'. You should be using date comparison operators, such as
=, <, >, <=, >=.