Fixed typos in activerecord