Module: Reform

Defined in:
lib/reform/form.rb,
lib/reform/version.rb,
lib/reform/composition.rb,
lib/reform/representer.rb,
lib/reform/form/virtual_attributes.rb

Defined Under Namespace

Classes: Composition, Fields, Form, Representer

Constant Summary collapse

VERSION =
"0.2.3"

Class Method Summary collapse

Class Method Details

.rails3_0?Boolean

Returns:

  • (Boolean)

290
291
292
# File 'lib/reform/form.rb', line 290

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