4 ms·
Not compatible with Rails 3.2.x, for those still on that version. (And possibly will never be, as 3.2.x only receives security updates now.)
by cmelbye 12y ago
Not compatible with Rails 3.2.x, for those still on that version. (And possibly will never be, as 3.2.x only receives security updates now.)
- grandalf 12y agoWhat is the nature of the incompatibility?
- cmelbye 12y agoOne change is that test/unit is now no longer part of the standard library, which Rails requires. The workaround is simple, "test-unit" must be added to the Gemfile. A less easily fixed change is that the following syntax no longer works the same as it did in previous versions of Ruby: def foo(bar = bar) The recommended fix is the following: (I believe) def foo(bar = bar()) Rails uses this syntax occasionally. It's simple to change, but the Rails team refuses to merge in the fixes because it's not a security issue.
- grandalf 12y agoWow that's too bad. Do you know if the Rails team would approve a patch that was submitted? Also, the change of the meaning of the right bar in your example above seems significant. Do you happen to know of any context for that change?
- ehsanu1 12y agoIn case you weren't aware: https://github.com/rails/rails/pull/18160 https://github.com/rails/rails/pull/18160