From 3d1e8dde9d023cc3d2c75dea689648434050d621 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 24 Jan 2005 10:58:17 +0000 Subject: Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'railties/CHANGELOG') diff --git a/railties/CHANGELOG b/railties/CHANGELOG index d6cf19ebf5..dc6356056d 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,24 @@ *SVN* +* Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers. This means that controller + hierarchies need to explicitly require the superclass if its not ApplicationController. Example: + + # application.rb + class ApplicationController < ActionController::Base + end + + # base.rb + class BaseController < ApplicationController + end + + # media_controller.rb + require_or_load 'base' + class MediaController < BaseController + end + + +* Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter + * Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload * Fixed that generate scaffold would produce bad functional tests -- cgit v1.2.3