Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: undefined method for class #3

Open
jritzi opened this issue Dec 23, 2010 · 0 comments
Open

NameError: undefined method for class #3

jritzi opened this issue Dec 23, 2010 · 0 comments

Comments

@jritzi
Copy link

jritzi commented Dec 23, 2010

I recently upgraded a Rails 1.x app to 2.3, and along the way replaced the old sentry plugin with the latest gem. Now I run into the following error:

NameError: undefined method `credit_card_number' for class `Account'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/core_ext/module/aliasing.rb:33:in `alias_method'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/core_ext/module/aliasing.rb:33:in `alias_method_chain'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/sentry-0.5.3/lib/active_record/sentry.rb:45:in `asymmetrically_encrypts'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/sentry-0.5.3/lib/active_record/sentry.rb:14:in `generates_crypted'
from app/models/account.rb:3
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/dependencies.rb:406:in `load_without_new_constant_marking'
...

Any idea what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant