Formtastic 1.2.4
Published 1 June 11 by Justin French
This isn’t the big 2.0 refactor release, but I’ve just pushed Formtastic 1.2.4 up to RubyGems. It contains a bunch of small bug fixes and improvements over the past few months.
If you’ve been using 1.2.4.beta2, this release is identical. If you’ve been rolling with 1.2.3, there’s no changes that should prevent you from upgrading.
This release should be compatible with Rails 2 and Rails 3, although we’re focusing most of our Rails 3.1 work in the master branch for Formtastic 2.
Speaking of Formtastic 2, we’re aiming to ship a release candidate this week! Bundle in from master direct with the :git option if you want to try it out before then.
Changelog from 1.2.3–1.2.4:
- Changed
:booleaninputs to use Rails’check_box_checked?instead of our own logic (addresses many bugs) - Fixed
:booleaninputs to disable the included hidden input when disabling the visible checkbox - Fixed that Formtastic was making changes to the options hash directly instead of on a duplicate, causing problems for those trying to reuse options on multiple inputs in the view
- Fixed that tiny scroll bars were appearing on legends in date/time/radio/cbheckboxes fielsets
- Fixed an issue when Formtastic fails to determine if a checkbox is checked with custom checked and unchecked values
- Fixed that the hidden input rendered with a boolean checkbox did nt use the custom
:namefrom:input_htmloptions hash if provided - Fixed CSS/Firefox issue where Firefox 4 gave focus to the
<li>wrapper, requiring the user to press tab twice to jump between inputs - Improved compatibility with Mongoid Documents
- Updated i18n dependency to ~> 0.4
Before you go…
Here’s some links to my most popular posts: