J-_-L
index | github | twitter | irbtools | pws | rubykraut | ruby on ubuntu | zucker | euler | fresh
15.07.11 16.07.11

Three little tips for slimmer Rails migrations

gem · hints · one-liners · plugin · rails · rails2 · rails3 · ruby

Rails migrations are easy to understand and easy to write. However, you can save some unnecessary key strokes by applying these three tips :) […]

08.07.10

The has_many_booleans Rails plugin

has_many_booleans is an ActiveRecord plugin which creates virtual boolean attributes for a model. When the object gets saved, the plugin transforms all attributes into a single integer, using a bitset. So you can easily add new attributes without changing the database structure. […]