lib/roar-rails.rb in roar-rails-0.0.15 vs lib/roar-rails.rb in roar-rails-0.1.0
- old
+ new
@@ -19,10 +19,10 @@
module Roar
module Rails
def self.rails3_0?
- ::Rails::VERSION::MINOR == 0
+ ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 0
end
if rails3_0?
require 'roar/rails/rails3_0_strategy'
else