This is my first public Ruby talk that I gave at the Dallas.rb user group on 6/7/2011.
The talk is an overview of Rails best practices and utilizing some of the new features in Rails 3 to write cleaner code. The bulk of the "best practices" presented here are opinion with some opinions leading to more cleaner code than others.
Topics covered by this talk are:
Emaciated controllers
Scopes
Custom Models
Cached Counters
Security
Using Delegates
Presenters
Tips and Tricks for Views