Changed typo : active_record to active_resource