akshayrawat/prediction_book2 — Issue #3: Overwritten method may cause woes
Author: cradle
Created: 2012-01-09 06:37:55+00:00
State: open

Creating scope :limit. Overwriting existing method Response.limit.
Creating scope :limit. Overwriting existing method Prediction.limit.

This may cause woes for future development, the implementation of 'limit' differs from the standard. Code should be modified to use API functionality where applicable.

Changed in rails 3 branch at https://github.com/tricycle/predictionbook/blob/rails3/app/models/common_scopes.rb
Method removed and calling instances modified (incomplete)