Skip to content

in production, undefined method, but in development - no problems #21

@chewmanfoo

Description

@chewmanfoo

here's what I see in the console in production:
Loading production environment (Rails 2.3.11)
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/base.rb:1998:in method_missing':NoMethodError: undefined methodhas_many_polymorphs' for #Class:0xd11d480

but in development mode, no problems.

Why would there be a difference?

my production.rb and development.rb files make no mention of has_many_polymorphs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions