O'Reilly logo

Rails™ AntiPatterns: Best Practice Ruby on Rails™ Refactoring by Chad Pytel, Tammer Saleh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Footnotes

Chapter 1

1. You can find this paper, and many other great resources, at www.objectmentor.com.

2. This is actually true only as long as you don’t use find_by_sql in your finder methods. The mechanism by which the SQL statements are combined (scope) breaks down when a full raw SQL statement is used.

3. ...or before has_finder and named_scope, the predecessors to scope.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required