Yesterday’s Thoughts

Archive for August, 2011

August 30, 2011

Rails 3.1 Nested Associations

Some cool changes here: http://guides.rubyonrails.org/3_1_release_notes.html Look at this one! “Associations with a :through option can now use any association as the through or source association, including other associations which have a :through option and has_and_belongs_to_many associations.” From the API Documentation (search for “Nested Associations”) class Author < ActiveRecord::Base has_many :posts has_many :comments, :through => :posts […]

August 5, 2011

Where’s The Octopus?

Scifri Videos: Where’s The Octopus?.