Sha256: bc77a4e5d4b32cb13bf9639ded9c6d0688c7c60a687d9377945ed6b8e2a42038

Contents?: true

Size: 342 Bytes

Versions: 7

Compression:

Stored size: 342 Bytes

Contents

module Reform
  autoload :Contract, 'reform/contract'

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

require 'reform/form'
require 'reform/form/composition'
require 'reform/form/active_model'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
reform-1.1.1 lib/reform.rb
reform-1.1.0 lib/reform.rb
reform-1.0.4 lib/reform.rb
reform-1.0.3 lib/reform.rb
reform-1.0.2 lib/reform.rb
reform-1.0.1 lib/reform.rb
reform-1.0.0 lib/reform.rb