
Bug: Problems with multiple scopes beginning with the same name
Reported by Georg Ledermann | July 30th, 2009 @ 03:53 PM
Please have a look at this small example:
class Contact < ActiveRecord::Base
has_many :documents, :as => :object
has_many :involvements
has_many :documents_involved, :through => :involvements, :source => :object, :source_type => 'Document'
end
Contact.search(:documents_involved_title_like => 'foo').all
# => NoMethodError: undefined method `involved_title_like' for #<Class:...>
Using Rails 2.3.3 and searchlogic plugin 2.1.13 released 2009-07-29
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Provides common named scopes and object based searching.