Flippin' Sweet Cheat Sheets
Err has created a cheat sheet gem which gives you a command line call that displays a particular ruby cheat sheet. I was just starting to put together a folder of printed cheat sheets but that didn’t feel like the answer. This, however, does.
When programming in Ruby and Rails, the command line is your best friend. Having these cheat sheets available there is a really great, simple idea. It’s funny how the best ideas are so simple they leaving you thinking, “Why didn’t I think of that?”
You can install the cheat sheet gem using the following command:
@$ sudo gem install cheat --source require.errtheblog.com@
Then to view a cheat sheet, such as the strftime formatting sheet, call:
and you will receive a sweet list of all the date formatting options. They have also created a camping powered, wiki style site to add, edit and browse the cheat sheets. Yep, it’s open for everyone to modify. Check the site out and install the gem. Happy cheating!