RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

PikachuEXE — 3 posts

CORS with CloudFront, S3 and Rails
CORS with CloudFront, S3 and Rails
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 :)
Meta Tags on Rails
I want to share my thoughts on how to implement meta tags on Rails.