Permalink
Browse files

Require WikiContent directly so WikiContentJournal is loaded before i…

…t's patched.


Error: uninitialized constant MergeWikiVersionsWithJournals::WikiContentJournal
  • Loading branch information...
1 parent 16947dc commit 75bb38df08f8a1916f976e716a881369dfc48986 @edavis10 committed Apr 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 db/migrate/20100804112053_merge_wiki_versions_with_journals.rb
@@ -12,6 +12,8 @@
# See doc/COPYRIGHT.rdoc for more details.
#++
+require 'wiki_content'
+
class MergeWikiVersionsWithJournals < ActiveRecord::Migration
# This is provided here for migrating up after the WikiContent::Version class has been removed
class WikiContent < ActiveRecord::Base

0 comments on commit 75bb38d

Please sign in to comment.