class ActiveRecord::Base
Public Instance Methods
find_by_value(value, association)
click to toggle source
# File lib/active_search/search_helper.rb, line 5 def find_by_value(value, association) self.send(association.to_sym).find_by_value(value) end
Also aliased as: search_for