Permalink
Browse files

shock horror

  • Loading branch information...
1 parent a37b866 commit 1099419cdcd5ed67ad6e16ad42b19c3d084c9a60 Aditya Sanghi committed Nov 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic/session/scopes.rb
@@ -93,7 +93,7 @@ def build_key(last_part)
def search_for_record(*args)
where = {}
where = (scope[:where].instance_of?(ActiveRecord::Relation)) ? scope[:where] : klass.send(:where, *scope[:where]) if scope[:where]
- klass.send(:with_scope, :find => where) does
+ klass.send(:with_scope, :find => where) do
klass.send(*args)
end
end

0 comments on commit 1099419

Please sign in to comment.