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:
parent
bbb7e7ee6d
commit
3e072a0d8f
|
@ -0,0 +1,3 @@
|
|||
class Version < ActiveRecord::Base
|
||||
attr_accessible :created_at, :updated_at, :answer, :action, :question, :article_id, :ip, :user_agent, :title
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue