Module AWS::Record::Scopes
In: lib/aws/record/scopes.rb

Methods

scope  

Public Instance methods

Adds a scoped finder method to this class. Given a call to scope like:

  scope :top_10, order(:popularity, :desc).limit(10)

Then you can call the method +top_10+ on the class and it will return an enumerable scope object with the given find conditions.

@param [Symbol] name The name of the scope. Scope names should be

  method-safe and should not conflict with any other class methods.

[Validate]