Making it so that the paper_trail initializer for the dummy app is in the dummy app's config/initializers directory so that it mimics the behavior of the rails app when the console is run against it.

This commit is contained in:
Ben Atkins 2012-12-31 13:07:27 -05:00
parent bbb7e7ee6d
commit 3e072a0d8f
2 changed files with 3 additions and 5 deletions

View File

@ -0,0 +1,3 @@
class Version < ActiveRecord::Base
attr_accessible :created_at, :updated_at, :answer, :action, :question, :article_id, :ip, :user_agent, :title
end

View File

@ -42,8 +42,3 @@ def change_schema
end
ActiveRecord::Migration.verbose = true
end
class Version < ActiveRecord::Base
attr_accessible :created_at, :updated_at,
:answer, :action, :question, :article_id, :ip, :user_agent, :title
end