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 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

1 comment on commit 75bb38d


This also needs to be loaded in db/migrate/20110729125454_remove_double_initial_wiki_content_journals.rb. I'd send a PR but my fork is private right now.

Please sign in to comment.