Change the rails version constant in environment.rb  to 2.3.4

then run:

rake rails:freeze:gems # freezes the newer version in vendor

rake rails:update # updates any necessary config and script files


I'm pretty sure that's all you need to do.

It shouldn't break anything although you might notice some behaviors
changing (like the default_scope working as expected) so re-run all of
your tests to be sure.


If you want to try it on a separate git branch to be safe:

git add . # add all the current files
git commit -a -m "Updating to Rails 2.3.4" # commit current settings
to git
git branch update # create a new branch
git checkout update # move to new branch

# then do the necessary steps to update
# make sure everything is working as expected

git checkout master # move back to master branch
git merge update # merge the changes if you're happy with them
git merge update


That oughtta do it.
Let me know if that solves the issue?

Gavin

On Sep 19, 3:07 pm, bingo bob <[email protected]>
wrote:
> Gavin Morrice wrote:
> > Bob,
> > I'm running Rails 2.3.4 now - so ActiveRecord  2.3.4
>
> > This definitely works fine on my machine so I'd guess it was a bug in
> > ActiveRecord 2.3.2.
>
> > would you consider updating your application to rails 2.3.4?
>
> > Gavin
>
> > On Sep 19, 2:40 pm, bingo bob <[email protected]>
>
> Yeah sure - I don't want to break anything though, and i've "frozen"
> rails into vendor.
>
> Is it easy to upgrade and get it into my git repo and deploy, I guess it
> is!?
>
> What steps?
> --
> Posted viahttp://www.ruby-forum.com/.

On Sep 19, 3:07 pm, bingo bob <[email protected]>
wrote:
> Gavin Morrice wrote:
> > Bob,
> > I'm running Rails 2.3.4 now - so ActiveRecord  2.3.4
>
> > This definitely works fine on my machine so I'd guess it was a bug in
> > ActiveRecord 2.3.2.
>
> > would you consider updating your application to rails 2.3.4?
>
> > Gavin
>
> > On Sep 19, 2:40 pm, bingo bob <[email protected]>
>
> Yeah sure - I don't want to break anything though, and i've "frozen"
> rails into vendor.
>
> Is it easy to upgrade and get it into my git repo and deploy, I guess it
> is!?
>
> What steps?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to