Actions
action #2296
closedGet rid of the deprecation warning introduced by some gem
Start date:
2014-04-10
Due date:
% Done:
100%
Estimated time:
2.00 h
Description
After migration to Rails 4 this warning is being displayed. The wrong call is not in TSP source code, so we have to find the offender gem and a way to fix the warning.
DEPRECATION WARNING: Calling #default_scope without a block is deprecated. For example instead of default_scope where(color: 'red')
, please use default_scope { where(color: 'red') }
. (Alternatively you can just redefine self.default_scope.).
Actions