Holiday Side Project

January 1st, 2013

Since I’ve been wanting to try out CanCan and Twitter Bootstrap this holiday, I spent a few hours creating a silly game called Recycled or Not.

My app was generated with Rails Apps Composer. The rails_apps_composer gem installs a command line tool to assemble a Rails application from a collection of fully-tested “recipes.”

It’s too bad the core recipes don’t include MiniTest, although this is a option when creating recipes from scratch. And the core example recipes use Cucumber which has fallen out of fashion around here of late. But other than that, I really loved using this tool because it allowed me to get started with the features of my project in a snap.

In addition, I enjoyed working with Devise, Rolify and CarrierWave. But I think my favorite discovery was that the load_resource method from Cancan will set up a before filter in your controllers which loads the model resource into an instance variable for you. Love that!

Entry Filed under: Professional,Ruby on Rails

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Pages

Tweets

Today is my last day at the MBTA. So proud to have served Boston alongside my amazing team at CTD. I’m joining Indigo Ag to help farmers sustainably feed the planet, but before I go I wrote up a thing about what we’ve done on MBTA.com. bit.ly/2kjr15O pic.twitter.com/r4acHkz78j

About a month ago from Liana Leahy's Twitter via Twitter Web App

Meta