Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Tag: rails

ActiveRecord has_many through multiple models

Posted on March 24, 2014November 1, 2021

More than a few times now I’ve run into a situation where I really need to be able to relate one object to another through multiple tables – basically use ‘has_many’ twice. Here’s an example set of objects where a user can have many products but to get to the products you have to first…

Rails on Heroku Notes – some Asset Pipeline and a Frame issue

Posted on October 23, 2013November 1, 2021

A tiny Rails asset pipeline thing if you are into bookmarklets This is more a general Rails issue rather than a Heroku issue, but I ran into the problem while deploying to heroku so I’m including it. Rails 3 generated digest as well as undigested version of your assets. Rails 4 no longer does that….

Rails on Heroku Notes – some Asset Pipeline and a Frame issue

Posted on October 23, 2013November 1, 2021

A tiny Rails asset pipeline thing if you are into bookmarklets This is more a general Rails issue rather than a Heroku issue, but I ran into the problem while deploying to heroku so I’m including it. Rails 3 generated digest as well as undigested version of your assets. Rails 4 no longer does that….

Rails on Heroku Notes – some Asset Pipeline and a Frame issue

Posted on October 23, 2013November 1, 2021

A tiny Rails asset pipeline thing if you are into bookmarklets This is more a general Rails issue rather than a Heroku issue, but I ran into the problem while deploying to heroku so I’m including it. Rails 3 generated digest as well as undigested version of your assets. Rails 4 no longer does that….

Shoulda used RSpec

Posted on September 18, 2010October 25, 2021

I’ve been updating the muck gems to work with Rails 3. The change is significant and painful but in a good way. For the most part the change consists of deleting all the code you used to hack into the Rails framework and adding subclass of ‘::Rails::Engine’. I’ll try to put together a detailed post…

©2025 Justin Ball | Powered by SuperbThemes & WordPress