Do you use ActiveRecord? Tired of writing in console all those verbose Arel methods? Well short_arel is for you!
The idea is to reduce to the minimum the numbers of characters you have to type to perform ActiveRecord queries. short arel just aliases long-named methods with its short version, so instead of having to write:
Post.where(:public => true).includes(:comments).order('edited_at ASC')
you could write
Post.w(:public => true).i(:comments).o('edited_at ASC')
This is the reason: http://codebrawl.com/contests/terminal-admin
Put this file in your rails directory. Load console (rails c) and require the file
require './short_arel.rb'
I quite like the idea of having short aliases for everything, but I'm unsure if I would be able to remember all of them.