Sha256: 57759fa7e80e83c611cf89065fe5be8c7088e8514affb8de9e7e92d6100395c3

Contents?: true

Size: 386 Bytes

Versions: 8

Compression:

Stored size: 386 Bytes

Contents

module Reform
  def self.rails3_0?
    ::ActiveModel::VERSION::MAJOR == 3 and ::ActiveModel::VERSION::MINOR == 0
  end
end

require 'reform/contract'
require 'reform/form'
require 'reform/form/composition'
require 'reform/form/active_model'
require 'reform/form/module'
require 'reform/composition'


if defined?(Rails) # DISCUSS: is everyone ok with this?
  require 'reform/rails'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reform-1.2.6 lib/reform.rb
reform-1.2.5 lib/reform.rb
reform-1.2.4 lib/reform.rb
reform-1.2.3 lib/reform.rb
reform-1.2.2 lib/reform.rb
reform-1.2.1 lib/reform.rb
reform-1.2.0.beta2 lib/reform.rb
reform-1.2.0.beta1 lib/reform.rb