Ruby Quicktips: A Tumblelog of Quick Ruby Tips
Ruby Quicktips is a Tumblr-powered tumblelog (think of a blog but in bite-sized chunks) by Daniel Pietzsch that presents a growing array of Ruby related tips and interesting code snippets. Daniel seems keen for you to contribute, and you can do so on its submissions page. There's an "about us" post if you want to learn more in general.
Daniel has done a good job of curating the 20 or so tips that he's put up over the last couple of months, and I bet with your help, it could become a significant resource. Picking up a few tips each week is a great way to keep your mind fresh and the ideas flowing! The tips posted so far are mostly quite basic, but with more submissions, a wider gamut of skill levels could be covered.
A selection of the tips posted so far:
- Retrieve the last return value with underscore (_)
- Using the "try" method
- Date manipulation
- Disabling input fields on a form based on a condition (Rails)
- all? and any?