lib/reform.rb in reform-0.1.2 vs lib/reform.rb in reform-0.2.0
- old
+ new
@@ -1,4 +1,7 @@
-require 'reform/version'
require 'reform/form'
-require 'reform/form/dsl'
+require 'reform/form/composition'
require 'reform/form/active_model'
+
+if defined?(Rails) # DISCUSS: is everyone ok with this?
+ require 'reform/rails'
+end
\ No newline at end of file