Permalink
Browse files

Remove old Rails 2.3 console reload logic

  • Loading branch information...
1 parent b7e5c8d commit aabbf1272210154ad5cd97bc913dbf51de4be5f8 @paulelliott paulelliott committed Feb 29, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/fabrication/fabricator.rb
View
7 lib/fabrication/fabricator.rb
@@ -46,10 +46,3 @@ def schematic_for(name, options, &block)
end
end
-
-# Adds support for reload! in the Rails 2.3.x console
-if defined? ActionController::Dispatcher and ActionController::Dispatcher.respond_to? :reload_application
- ActionController::Dispatcher.to_prepare :fabrication do
- Fabrication.clear_definitions
- end
-end

0 comments on commit aabbf12

Please sign in to comment.