Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Bruce's Profile

GitHub User: bcackerman


Comments by Bruce


I hate to say it but all the other solutions limit your functionality with using prefixes. The proper way is to follow the documentation here:

Replace all spaces with "&"

You can do this in your search method:
query = query.split(" ").join(" & ")


Not sure why but each day lists out the all the articles for me instead of just the ones for that day. Any suggestions?

day_method is correct too (I'm using :due_date and it has a datatype as date).

Any idea what's wrong?