action #2296
closedGet rid of the deprecation warning introduced by some gem
100%
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.).
Updated by ancorgs over 10 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 20
Offending gem (auditor) found. Pull request fixing the issue sent to the original developer https://github.com/kunklejr/auditor/pull/14
Updated by ancorgs over 10 years ago
Trying to reach the author again after two weeks without a reply.
Updated by ancorgs over 10 years ago
The author accepted the pull request and released a new version... which have another problem. Pinging him again.
Updated by ancorgs over 10 years ago
- Status changed from In Progress to Closed
- % Done changed from 20 to 100
Dropping auditor in favor of espinita, which uses an almost identical approach, is actively maintained for Rails 4 and have a catchy name.