lib/haml/helpers/action_view_mods.rb in haml-3.2.0.rc.2 vs lib/haml/helpers/action_view_mods.rb in haml-3.2.0.rc.3
- old
+ new
@@ -140,6 +140,8 @@
alias_method :form_for, :form_for_with_haml
end
end
end
-require "haml/helpers/rails_323_textarea_fix" if Rails.version >= "3.2.3"
+if (ActionPack::VERSION::MAJOR == 3) && (ActionPack::VERSION::MINOR >= 2) && (ActionPack::VERSION::TINY >= 3)
+ require "haml/helpers/rails_323_textarea_fix"
+end
\ No newline at end of file