FIX: seed data classes couldn't always be found

FIX: seed data classes couldn’t always be found

diff --git a/app/controllers/admin/site_texts_controller.rb b/app/controllers/admin/site_texts_controller.rb
index 46998cd..74dde2b 100644
--- a/app/controllers/admin/site_texts_controller.rb
+++ b/app/controllers/admin/site_texts_controller.rb
@@ -1,3 +1,6 @@
+require_dependency 'seed_data/categories'
+require_dependency 'seed_data/topics'
+
 class Admin::SiteTextsController < Admin::AdminController
 
   def self.preferred_keys
diff --git a/db/fixtures/500_categories.rb b/db/fixtures/500_categories.rb
index 5a6376f..3146ba4 100644
--- a/db/fixtures/500_categories.rb
+++ b/db/fixtures/500_categories.rb
@@ -1,3 +1,5 @@
+require 'seed_data/categories'
+
 if !Rails.env.test?
   SeedData::Categories.with_default_locale.create
 end
diff --git a/db/fixtures/990_topics.rb b/db/fixtures/990_topics.rb
index 0a5ede2..73c8f88 100644
--- a/db/fixtures/990_topics.rb
+++ b/db/fixtures/990_topics.rb
@@ -1,3 +1,5 @@
+require 'seed_data/topics'
+
 User.reset_column_information
 Topic.reset_column_information
 Post.reset_column_information
diff --git a/lib/tasks/i18n.rake b/lib/tasks/i18n.rake
index e543917..17e8cb4 100644
--- a/lib/tasks/i18n.rake
+++ b/lib/tasks/i18n.rake
@@ -1,4 +1,6 @@
 require 'i18n/locale_file_checker'
+require 'seed_data/categories'
+require 'seed_data/topics'
 require 'colored2'
 
 desc "Checks locale files for errors"

GitHub sha: 8a99d594