Tag

Your search for rails3 returned 4 results.


Rails Single Table Inheritance Helper Module

Single table inheritance is a somewhat controversial topic in Rails land. For me, I like the Rails magic that it brings and, you know, the inheritance. However, it can clearly be abused. Here is my one rule for using Single table inheritance: (more…)

Read More


Testing Jammit’s packaged assets with Jasmine

In my new job, I'm trying to start things out right -- behavior-driven, test-driven, "cutting-edge" tools (whatever the hell that means), etc. I've gone through the new Rspec book (review to come) and used Cucumber and Rspec on my Rails app. I recently re-did the front-end with Backbone.js (and I am ready to marry it) and now I'm testing the javascript with Jasmine ...

Read More


Debugging Cucumber in RubyMine {Quick Hit}

Using Cucumber and Rspec for the first time has been ... a little frustrating. I followed along with the main tutorial in The Rspec Book and then skimmed the later chapters. I thought it was quite good until I had to start testing an actual rails app and felt a little at a loss. But I digress ... (more…)

Read More


Quick Hit: Library not loaded: libmysqlclient.16.dylib

I haven't been using mysql much for my rails projects in favor of postgres, but in doing some tutorials on haml and sass I needed mysql in order to follow the tutorials exactly. After adding the mysql2 gem to my Gemfile, I got this error when running rake db:create: (more…)

Read More