Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rename from named_sccope to scope: missing rename ArgumentError exception

#3736

lifo (Patrik) renames named_scope to scope in this commit:

rename named_scope to scope

It appears one of the rename remains missing in the named_scope.rb file
I've corrected it, see the patch with this message.

Reported by Paco Guzmán · January 18th, 2010 @ 07:55 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. José Valim
  2. Paco Guzmán
    Paco Guzmán

    Hi José Valim!

    I think this ticket is different to #3735 Rename from named_sccope to scope: missing rename test. It appears one of the renames remains missing in the named_scope.rb not in the test files.

    Please take a look at the patch

    Thanks!

    January 18th, 2010 @ 09:10 AM

  3. José Valim
    José Valim
    • State changed from duplicate to open

    Indeed, my bad! :)

    January 18th, 2010 @ 09:13 AM

  4. Repository
    Repository

    (from [e27bfad6a5f9e9171148226dee7ce51d41731ea7]) Forgot to change named_scope to scope in an ArgumentError raise exception for duplication scopes related to commit d60bb0a9e4be [#3736 Rename from named_sccope to scope: missing rename ArgumentError exception status:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/e27bfad6a5f9e9171148226dee7ce5...

    January 18th, 2010 @ 03:36 PM

  5. José Valim
    José Valim
    • State changed from open to resolved

    January 18th, 2010 @ 03:36 PM