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

Rails 3 - Warning Base.named_scope has been deprecated, please use Base.scope instead #153

Closed
Kosmas opened this issue Jul 14, 2010 · 4 comments

Comments

@Kosmas
Copy link

Kosmas commented Jul 14, 2010

Using authlogic with Rails beta 4, the console gives two deprecation warnings about named_scope.

Renaming named_scope to scope in :

$HOME/.bundle/ruby/1.8/bundler/gems/authlogic-616f4e3cab847292be895b9e8ff207d9be1926ab-master/lib/authlogic/acts_as_authentic/logged_in_status.rb

in lines 35 and 36 stops the warnings.

Is there a rails3 branch that this should be corrected?

@h0jeZvgoxFepBQ2C
Copy link

Same problem with Rails3 rc.

@h0jeZvgoxFepBQ2C
Copy link

@phlegx
Copy link

phlegx commented Jan 22, 2011

Same problem with Rails 3.0.3

@jschulenklopper
Copy link

This has been solved in v3.0.2. I had the same issue, but not after upgrading to v3.0.2 (which only works for Rails3).

@tiegz tiegz closed this as completed Oct 27, 2014
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

5 participants