Formtastic 2 will drop Rails 2 support
Published 13 January 11 by Justin French
It’s time. I’m getting pretty excited about getting stuck into Formtastic 2.0, and the first step is to free us from the baggage — a bunch of code, documentation and limitations that will slow us down.
Last night I branched off master and got to work in the kill-off-rails-2 branch which I just pushed up to Github.
I’m going to merge this into master really soon, so the edge is about to get bumpy. If you’re bundling Formtastic directly from the master branch using the :git option, now would be a really great time to switch to the 1.2-stable branch (or any known stable commit) using the :branch option.
If you want to help out, please test this new branch against your application by temporarily bundling it in with the :git and :branch options. In particular, it’d be nice to know that the more complex parts of Formtastic (like nested attributes) still work as expected.
If you spot any unnecessary code or tests that can now be removed or refactored, let me know or send a patch!
For those still working with Rails 2 apps (myself included), Formtastic 1.x will be maintained for bug fixes and minor refinements for a while yet in the 1.2-stable branch.
Now would be a great time to make sure you’re bundling or requiring the appropriate version of Formtastic in your application to avoid nasty surprises when beta releases or incompatible versions start shifting!
Before you go…
Here’s some links to my most popular posts: