searchlogic icon indicating copy to clipboard operation
searchlogic copied to clipboard

Existing named scopes are ignored

Open laserlemon opened this issue 16 years ago • 0 comments

An existing named scope that shares its name with one of the model's columns is ignored when accessed via the search method. The normalize_scope_name method appends "_equals" with no regard for whether the scope already exists. I've forked the repo, added a failing test and presented a solution.

http://github.com/laserlemon/searchlogic

laserlemon avatar Sep 30 '09 23:09 laserlemon