Yep. ```.all``` is now used instead of ```.scoped```. ```.references``` is needed to prevent deprecation warnings when using joined table + field names in where clauses.

Last point in this post.
http://blog.remarkablelabs.com/2012/12/what-s-new-in-active-record-rails-4-countdown-to-2013