HomePhorge

(#6818) Stop from getting Rails 3 named_scope deprecation warning
54b9f5d9afcbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6818) Stop from getting Rails 3 named_scope deprecation warning

We want our Rails models in Puppet to work under Rails 2 or 3, but we
don't want the deprecation warnings since we can't control what version
of Rails the client is running.

DEPRECATION WARNING: Base.named_scope has been deprecated, please use
Base.scope instead

Reviewed-by: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7b23e59f64d7: Merge branch 'ticket/2.6.next/6856-dangling-symlinks' into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPU54b9f5d9afcb: (#6818) Stop from getting Rails 3 named_scope deprecation warning (authored by Matt Robinson <matt@puppetlabs.com>).Apr 12 2011, 12:16 AM