added attrs method to return hash for creating new ActiveRecord Objects