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

Warning regarding class_name #42

Open
pupeno opened this issue Nov 30, 2010 · 1 comment
Open

Warning regarding class_name #42

pupeno opened this issue Nov 30, 2010 · 1 comment

Comments

@pupeno
Copy link

pupeno commented Nov 30, 2010

I'm getting this warning with globalize2:

 DEPRECATION WARNING: ActiveRecord::Base#class_name is deprecated and will be removed in Rails 2.3.9. (called from translates at /Users/pupeno/.rvm/gems/ruby-1.8.7-p302@lemonfrog/gems/globalize2-0.2.1/lib/globalize/active_record.rb:57)
@nathany
Copy link

nathany commented Mar 7, 2011

The deprecation message should say that it will be removed in Rails 3. https://gist.github.com/rails/rails/pull/186

I don't see an alternatives way to do this in 2.3.11.

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

2 participants