lib/reform.rb in reform-2.1.0 vs lib/reform.rb in reform-2.2.0.rc1
- old
+ new
@@ -1,17 +1,8 @@
module Reform
- def self.rails3_0?
- ::ActiveModel::VERSION::MAJOR == 3 and ::ActiveModel::VERSION::MINOR == 0
- end
end
require "disposable"
require "reform/contract"
require "reform/form"
require "reform/form/composition"
-require "reform/form/active_model"
require "reform/form/module"
-
-
-if defined?(Rails)
- require "reform/rails"
-end