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…
Category: rails
Rails on Heroku Notes – some Asset Pipeline and a Frame issue
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
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
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
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…