Sha256: 5b5d0089fcac9233908183d328e1b1e807202f00827604d353e77f92f1642a60
Contents?: true
Size: 458 Bytes
Versions: 31
Compression:
Stored size: 458 Bytes
Contents
module Searchlogic class Search # Is an invalid condition is used this error will be raised. Ex: # # User.search(:unkown => true) # # Where unknown is not a valid named scope for the User model. class UnknownConditionError < StandardError def initialize(condition) msg = "The #{condition} is not a valid condition. You may only use conditions that map to a named scope" super(msg) end end end end
Version data entries
31 entries across 31 versions & 4 rubygems