lib/generators/templates/formtastic.rb in formtastic-2.1.1 vs lib/generators/templates/formtastic.rb in formtastic-2.2.0.rc

- old
+ new

@@ -1,14 +1,6 @@ # encoding: utf-8 -# -------------------------------------------------------------------------------------------------- -# Please note: If you're subclassing Formtastic::FormBuilder, Formtastic uses -# class_attribute for these configuration attributes instead of the deprecated -# class_inheritable_attribute. The behaviour is slightly different with subclasses (especially -# around attributes with Hash or Array) values, so make sure you understand what's happening. -# See the documentation for class_attribute in ActiveSupport for more information. -# -------------------------------------------------------------------------------------------------- - # Set the default text field size when input is a string. Default is nil. # Formtastic::FormBuilder.default_text_field_size = 50 # Set the default text area height when input is a text. Default is 20. # Formtastic::FormBuilder.default_text_area_height = 5