justinfrench/formtastic — pull request #769 by bradseefeld (2011-12-29 20:41:30+00:00)
Title: Ensure associations is a hash before accessing it like a hash

I am using reactive resource with ActiveResource. It enhances the model with an associations array. The current method for accessing the associations property assumes its a hash (if it exists at all). I added an extra check to make sure its a hash.