{"id":3440,"date":"2013-05-10T17:36:15","date_gmt":"2013-05-10T20:36:15","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=3440"},"modified":"2013-05-10T17:36:15","modified_gmt":"2013-05-10T20:36:15","slug":"devise-and-rails-4","status":"publish","type":"post","link":"https:\/\/blog.plataformatec.com.br\/2013\/05\/devise-and-rails-4\/","title":{"rendered":"Devise and Rails 4"},"content":{"rendered":"

This week we released the first release candidate version of Devise that is fully compatible with Rails 4, and we’re bumping its version to 3.0. This version completely drops support for Rails 3.1 and Ruby 1.8.7, only keeping compatibility with both Rails 3.2 and Rails 4, running with Ruby 1.9.3 and 2.0.<\/p>\n

This rc version took some time to get ready, we’ve been running a rails4<\/em> branch for some time already and one of the reasons was because of the changes required to make it compatible with the new strong parameters<\/strong> API from Rails 4<\/a>. We are aware that some people have been using this branch since Rails 4.0 beta1 with success, and we’re now inviting you to try 3.0 rc with the recent release of Rails 4.0 rc1<\/a>.<\/p>\n

Devise stable<\/h3>\n

Together with the 3.0 beta version, we’ve released Devise 2.2.4 with a few enhancements and bug fixes, make sure to check the changelog<\/a> to see the new goodies. All changes are also included in the rc version.<\/p>\n

Simple Form<\/h3>\n

Simple Form has been running a 3.0 rc version for a couple months already, fully compatible with Rails 4 as well, and today we are releasing its release candidate version. In Simple Form master we just dropped support to the 3.x Rails series, focusing our work on Rails 4 compatibility from now on, due to a series of improvements in Rails 4 regarding form helpers – but don’t worry, we will be keeping a v2.1 branch with Rails 3.2 compatibility for a while.<\/p>\n

We have some cool plans to improve the wrappers API even further, but that’s subject for another blog post :).<\/p>\n

Responders<\/h3>\n

Responders has been around for quite some time already and we use it in most of our projects, so today we’re celebrating its 1.0 release candidate version, specially to support Rails 4.<\/p>\n

Show For<\/h3>\n

Show For just got a new stable release, v0.2.6, with all the enhancements and bug fixes that were in master, plus a v0.3.0 rc version that adds Rails 4 support.<\/p>\n

Mail Form<\/h3>\n

Mail Form also got a new 1.5 rc release with Rails 4.0 compatibility. Nothing else has changed from the current 1.4 version.<\/p>\n

Has Scope<\/h3>\n

Has Scope is getting a new 0.6 rc version with Rails 4.0 compatibility, including a couple of fixes that were already present in master.<\/p>\n

Compatibility<\/h2>\n

All these new releases are officially dropping support to Rails 3.0 and 3.1, and Ruby 1.8.7. We’ll keep compatibility with Rails 3.2 and 4.0 from now on, all of them on the same branches except for Simple Form which has different branches for each Rails version.<\/p>\n

Wrapping up<\/h2>\n

We’ve got new hot releases for you to try out with Rails 4, please give them a try and let us know if you find any issue or have any feedback.<\/p>\n

We’d also like to specially thank everyone involved in helping us getting these projects up and running in Rails 4, without you folks that’d have never been possible.<\/p>\n

Enjoy <3<\/p>\n","protected":false},"excerpt":{"rendered":"

Devise 3.0 rc version with Rails 4 compatibility and new 2.2.4 stable version. Simple Form, Responders, Show For and Mail Form versions with Rails 4 compatibility.<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[36,201,92,176,57,79,105],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/3440"}],"collection":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/comments?post=3440"}],"version-history":[{"count":11,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/3440\/revisions"}],"predecessor-version":[{"id":3461,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/3440\/revisions\/3461"}],"wp:attachment":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/media?parent=3440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/categories?post=3440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/tags?post=3440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}