Friday, December 2, 2011

Re: [Rails] "class Date needs to have method `_load'" in Rails 3.1.3 and Ruby 1.9.3-p0

On Sat, Dec 3, 2011 at 10:31 AM, Jason Paluck <lists@ruby-forum.com> wrote:
> I've got a Rails 3.0.10 app in production that I spent significant time
> upgrading to 3.1.3. It's all running in development without any issues,
> but when I deploy to production and access any page I get the error
> "class Date needs to have method `_load'" with no associated page or
> line number.
> I'm running Ruby 1.9.3-p0 in both environments.
> Development is running on OSX, while production is running the most
> recent version of passenger(apache) on Ubuntu.

apparently, the app is not fully tested. you should have qa env that
is similar to prodxn. like dev->qa->prod

we need to get a dump of the error so we can help. see
http://guides.rubyonrails.org/debugging_rails_applications.html

<speculation> Klass + _load error usually occurs on Marshaled
objects... marshall version is independent of ruby version, so be
careful. ie an obj marshaled dump in v1 may not be properly marshaled
load in v2...
</speculation>

kind regards -botp

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate