# So how does everybody else deal with changes in Rails?

**URL:** <https://www.ruby-forum.com/t/so-how-does-everybody-else-deal-with-changes-in-rails/151958>\
**Category:** Rails\
**Created:** [October 28, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/so-how-does-everybody-else-deal-with-changes-in-rails/151958 "2008-10-28T12:24:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morgan\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@Morgan\_G](https://www.ruby-forum.com/u/Morgan_G)\
**Post date:** [October 28, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/so-how-does-everybody-else-deal-with-changes-in-rails/151958/1 "2008-10-28T12:24:05Z")

</div>

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

Ie., when going from Rails 1.2 to 2.0/2.1 I’ve had to monkeypatch  
Globalize  
to make it work. 2.2.0 RC1 breaks Globalize again (though just including  
a  
couple of the old methods makes it work that’s an unacceptable fix and  
I’ll  
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?  
Waiting  
and hoping that somebody else updates the plugins? Googling for random  
blog  
posts?

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

Cheers,  
Morgan.

## –

## Morgan G. - Just Landed General Tel: +34 91 590 2611 removed\_email\_address@domain.invalid

## [http://www.justlanded.com](http://www.justlanded.com) - Helping people abroad! 30 countries, in up to 8 languages, more to come…

---

<div class="post-metadata">

**Author:** ![Morgan\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@Morgan\_G](https://www.ruby-forum.com/u/Morgan_G)\
**Post date:** [October 28, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/so-how-does-everybody-else-deal-with-changes-in-rails/151958/2 "2008-10-28T13:47:50Z")

</div>

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

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.
