search for: old_rail

Displaying 1 result from an estimated 1 matches for "old_rail".

Did you mean: old_tail
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
...= case ru - when nil - require ''config/environment'' - - defined?(::Rails::VERSION::STRING) or - abort "Rails::VERSION::STRING not defined by config/{boot,environment}" - # it seems Rails >=2.2 support Rack, but only >=2.3 requires it - old_rails = case ::Rails::VERSION::MAJOR - when 0, 1 then true - when 2 then Rails::VERSION::MINOR < 3 ? true : false - else - false - end - - if old_rails - require ''unicorn/app/old_rails'' - Unicorn::App::OldRails.new - else - A...