Module: ActiveScaffold::Finder

Defined in:
lib/active_scaffold/finder.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

NumericComparators =
[
  '=',
  '>=',
  '<=',
  '>',
  '<',
  '!=',
  'BETWEEN'
]
StringComparators =
{
  :contains    => '%?%',
  :begins_with => '?%',
  :ends_with   => '%?'
}
NullComparators =
[
  :null,
  :not_null
]

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



218
219
220
# File 'lib/active_scaffold/finder.rb', line 218

def self.included(klass)
  klass.extend ClassMethods
end