undefined method `abstract_class?' for Object:Class
allenwlee opened this issue · comments
allen lee commented
receiving the preceding message when i rake db:generate_trigger_migration
. any help appreciated.
class Production < ActiveRecord::Base
trigger.before(:update) do
"INSERT INTO production_histories(production_id) VALUES(id);"
end
end