Since we’ve moved to a new blog, we thought it would be best to give a quick overview of all our current gems and what they do:
Easy Roles
This was our first gem. Easy roles handles role management for users on your Rails application. The gem itself is extremely easy to use, and to setup.
Github: http://github.com/platform45/easy_roles
Rubygems: http://rubygems.org/gems/easy_roles
Easy Dates
Our second gem. It allows you to do predefined date formatting in your model, so you dont have to do it in your views. This allows you to define all formats in one location, and if they need to be changed, you won’t have to dig through your whole application to find all date formatting and change it.
Github: http://github.com/platform45/easy_dates
Rubygems: http://rubygems.org/gems/easy_dates
Speed
This is a really really small gem we wrote to test the speed of a controller, or model’s load time. Simply wrap your code in the speed block, and i’ll output the time it took to execute.
Github: http://github.com/platform45/speed
Rubygems: http://rubygems.org/gems/speed
Stateflow
Our latest gem. Stateflow allows business like transitions in your state machine. Stateflow also supports multiple persistence layers (ActiveRecord, Mongoid, MongoMapper), with an extremely easy API to work with. We wrote this gem in the need of more flexibility within our complex state based models.
Github: http://github.com/ryanza/stateflow
Rubygems: http://rubygems.org/gems/stateflow
We currently use all our gems on production sites, so they are considered stable. Feel free to fork and modify :)
Ryan Oberholzer
7 July 2010