public
Description: Intelligently applies a maxlength attribute for text fields based on column constraints and validations
Homepage: http://wiki.pluginaweek.org/Acts_as_enumeration
Clone URL: git://github.com/pluginaweek/smart_field_constraints.git
smart_field_constraints / CHANGELOG.rdoc
100644 26 lines (17 sloc) 0.818 kb

master

0.1.1 / 2009-03-15

  • Fix limits for integer columns being interpreted incorrectly [Michael Grosser]

0.1.0 / 2008-12-14

  • Remove the PluginAWeek namespace
  • Update tests to use ActionView::TestCase

0.0.2 / 2008-06-22

  • Remove log files from gems
  • Don’t check length validation constraints if models were loaded prior to the plugin being loaded [Michael Grosser]
  • Refactor FormHelper extension to allow for others to easily extend the plugin for things like textarea lengths [Michael Grosser]
  • Add support for tracking validates_size_of validations

0.0.1 / 2008-05-05

  • Initial public release
  • Add documentation
  • Remove maxlength attribute for textare tags since it’s not valid html
  • Don’t set the size based on the smart maxlength
  • Don’t expect columns to exist for every attribute