On Jan 11, 9:24 pm, Ben Wilson <[email protected]> wrote:
>     rake db:migrate RAILS_ENV=production
>     rake aborted!
>     uninitialized constant User::Authentication
>
> The preceding I encounter when attempting to migrate to the production
> database. My google powers have escaped me. Everywhere says Restful
> Authentication is missing in the production server. However, to
> validate this, I attempted this on the same server as the development,
> which works.
>
> So, what could cause the production environment to not see something
> that is there, when the development environment can?
>
> Ahh. While writing this, I decided to change:
>
> RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
>
> to this
>
> RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
>
> And, things work fine. Now to find out why. I don't like having to
> step downward...

Nope, that just gets me to...

ActionView::TemplateError (uninitialized constant
User::Authentication)

So, WTF?
--~--~---------~--~----~------------~-------~--~----~
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