RubyFlow The Ruby and Rails community linklog

where_lower 0.3.0 released

I just released where_lower 0.3.0. It helps you changing code like: Person.where('lower(name) = ?', params[:name].downcase) to this: Person.where_lower(name, params[:name].downcase)

It doesn’t have the ActiveRecord magic association reflection thing though. It’s so painful reading through the AR source code. If someone really wants it please open an issue or even a PR :)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in