lib/remotipart/rails.rb in remotipart-1.1.0 vs lib/remotipart/rails.rb in remotipart-1.1.1
- old
+ new
@@ -1,7 +1,7 @@
module Remotipart
module Rails
- if ::Rails.version < "3.1"
+ if ::Rails.version.to_s < "3.1"
require 'remotipart/rails/railtie'
else
require 'remotipart/rails/engine'
end
require 'remotipart/rails/version'