Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
Kosmas opened this Issue · 4 comments

5 participants

@Kosmas

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?

@lichtamberg

Same problem with Rails3 rc.

@phlegx

Same problem with Rails 3.0.3

@jschulenklopper

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.