how to test for relationships

User.reflect_on_association(:blogs).macro # returns :has_many

See more in the docs:
http://api.rubyonrails.org/classes/ActiveRecord/Reflection/ClassMethods.html

-Rob

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com