public
Description: Plugin to speed up Rails to production speed even in dev mode
Homepage: http://yyyc514.lighthouseapp.com/projects/19493-rails_dev_mode_performance-plugin/overview
Clone URL: git://github.com/yyyc514/rails_dev_mode_performance.git
100644 17 lines (13 sloc) 0.442 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# these hacks are only for faster development
if RAILS_ENV=="development"
  # we need to load the rails dispatcher because normally it's not loaded so early
  require 'dispatcher'
  
  # these hacks kind of change everything around
  require 'dispatcher_hacks'
  require 'dep_hacks'
# ActionView.eager_load_templates=false
  
  # for rails 2.1
  # require 'template_finder_hacks'
  # for rails 2.2
  require 'template_renderable_hacks'
end