#101: detecting whether association loaded in ActiveRecord

Solved!
Sometimes you want to check if something's loaded before you hit the db.

loaded, duh

2
record.has_many_association.loaded?
record.belongs_to_association_loaded?

Think you've got a better solution? Help 148c663fd665c53518538e093ce3c2ab_small kueda out by posting your solution