Using ActiveRecord, attempting to extend it