Call Montréal, Canada 524-949-6869


Wednesday, September 8, 2010

Class Methods Called Against Associations in Active Record

Did you know you can call class methods against associations? Admittedly this is a trivial example, but here goes:

Class methods also work against named scopes. I will provide a "good" example of this later in the week.

Developing Ruby on Rails applications and custom Content Management Systems in Montréal. Contact Firsthand.