forgot to extend ActiveRecord::Base