So how does everybody else deal with changes in Rails?

What process do you use to fix the various problems the come about when
update your Rails version?

Ie., when going from Rails 1.2 to 2.0/2.1 I’ve had to monkeypatch
to make it work. 2.2.0 RC1 breaks Globalize again (though just including
couple of the old methods makes it work that’s an unacceptable fix and
be replacing Globalize as soon as I have the time).

2.2.0 also breaks the asset_packager plugin (AssetTagHelper has been
refactored and rails_asset_id is no longer available). I can work around
this by monkeypatching the asset_packager plugin but again it’s an
unacceptable fix.

That’s just a couple of examples of the random upgrade pains. What I
want to
know is how do other people deal with these things? Monkeypatching?
and hoping that somebody else updates the plugins? Googling for random

I don’t have the time to fully investigate both the plugins and the
to the rails codebase to find the best possible solution so what I
are nasty hacks to get things working. It’s a terrible approach and
must be something better. How do you do it?


Morgan G. - Just Landed
General Tel: +34 91 590 2611
[email protected] - Helping people abroad!
30 countries, in up to 8 languages, more to come…

Don’t upgrade Rails until the plugins you absolutely have to have are

Freeze Rails for a given project…

Freeze other Gems as well.

Don’t monkeypatch anything, since you just create “speedbumps” in your
eventual upgrade path.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs