From cdaed311a9e9294c34ede271317cf2e19710156d Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 30 Jun 2008 10:44:37 +0200 Subject: [PATCH] fixes #744 by removing explicit loading of Tag from application.rb the load went looking for tables for tags that did not exist when creating a new db --- app/controllers/application.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 125b282e..2cfba813 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -7,7 +7,13 @@ require "redcloth" require 'date' require 'time' -Tag # We need this in development mode, or you get 'method missing' errors + +# Commented the following line because of #744. It prevented rake db:migrate to +# run because this tag went looking for the taggings table that did not exist +# when you feshly create a new database +# Old comment: We need this in development mode, or you get 'method missing' errors +# +# Tag class ApplicationController < ActionController::Base