Class ActiveRecord::DynamicScopeMatch
In: lib/active_record/dynamic_scope_match.rb
Parent: Object

Active Record Dynamic Scope Match

Provides dynamic attribute-based scopes such as scoped_by_price(4.99) if, for example, the Product has an attribute with that name. You can chain more scoped_by_* methods after the other. It acts like a named scope except that it‘s dynamic.

Methods

match   new   scope?  

Attributes

attribute_names  [R] 
scope  [R] 

Public Class methods

Public Instance methods

[Validate]