method

assert_field_type

Importance_1
v4.2.7 - Show latest stable - 0 notes - Class: Assertions
assert_field_type(attribute_type, field_type) public

Asserts the given attribute type gets translated to a field type properly:

assert_field_type :date, :date_select
Show source
Register or log in to add new notes.