Project

General

Profile

Actions

action #2296

closed

Get rid of the deprecation warning introduced by some gem

Added by ancorgs over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development
Target version:
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

Also available in: Atom PDF