Hi All!

It's been a while since I had to ask for help, but I'm back!

I've finished beta testing my big app and started the transition to production. Everything went fine and the production version was working till I was asked to add another model :-( (Almost a year of beta testing and they only come up with it after moving to production :-D )

I successfully implemented and tested the new code in development mode, but when I tried to migrate the db, I started getting errors I have never seen before:

First, using rake db:migrate it complained that I was using version 0.9.2 and the gemfile says 0.8.7 (NOT! The gemfile says nothing about rake or its versions). I don't remember doing anything that should have updated rake.

It recommended performing a /bundle upgrade/ to get rake 0.9.2 -- I did it, no problem making the upgrade itself.

Unfortunately, after the upgrade, both /rake db:migrate/ (rake is using 0.9.2) and /hobo g migration/ (it says its using rake 0.8.7) produce errors in the form of:

*uninitialized constant WillPaginate::Finders (NameError)*

/bundle update/ shows: *Using will_paginate (3.0.0) *

The error is occurring in both production and development modes so I'm stuck - I can't do anything new (my next big task was to copy the old website data into the new website) this might require db changes (I tried to avoid this, but there is just too much difference between the sites).

Searching the web shows similar errors with WillPaginate (none with Finders) dating back to 2007, but nothing that helped me.

I tried *(this may be totally wrong, it's the hacker in me)* editing the Gemfile:

gem "hobo", ">= 1.3.0.RC2"  #RC2 was pre31

but the bundle update still shows 1.3.0.pre31. I have the feeling that this is not going to solve the WillPaginate problem anyway, but I had to try.

I need to get the WillPaginate thing fixed so that I can get my production db to match the code -- fortunately the users haven't transitioned from the old site yet.

Can anyone help?

Thanks,

Don Z.

P.S. Is there a simple (recipe) way to update to the latest version of Hobo, since my ill-fated attempt at editing the Gemfile did nothing? I don't need to do this except that I don't want to get too far behind.


--
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