From 45e60d94e78305b17aac20b54220b1b8e3a85670 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Fri, 18 Jul 2008 19:16:46 +0000 Subject: [PATCH] ActionItem567: fix some problems with single table inheritance --- app/controllers/application.rb | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/app/controllers/application.rb b/app/controllers/application.rb index b35ff6f..2cb9177 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -45,6 +45,12 @@ class ApplicationController < ActionController::Base verify :method => :post, :only => actions, :redirect_to => redirect end + # Fix some problems with Single Table Inheritance + require_dependency 'textile_article' + require_dependency 'tiny_mce_article' + require_dependency 'text_article' + require_dependency 'article' + protected # TODO: move this logic somewhere else (Domain class?) -- libgit2 0.21.2