Find Conditions via Hash


/ Published in: Rails
Save to your folder(s)

Instead of simply adding a list of things at the end of the array, you can also pass in a hash and change the question marks to actual named replacements. This can help you keep the order of your arguments straight.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.