Rails 3?
Tom Hughes
tom at compton.nu
Tue Sep 6 13:55:46 BST 2011
On 06/09/11 12:59, Jonathan Bennett wrote:
> How far has anyone got with making the Rails Port work on Rails 3? What
> are the blockers, and what will it give us?
The simple answer is that I have a branch where I have been working on
it and it is largely functional.
There are a few tests failing still, all I believe relating to our use
of compound keys and the composite_primary_key plugin.
There is also some work to be done on replacing deprecated find methods
with newer AREL based record selection. That isn't essential for rails
3.0 as the old methods still work, but 3.1 is out now and the old
methods have been removed from that.
As to what it gives us, well the obvious answer is continued updates for
bugs (particularly security issues) in the core rails platform.
There are significant advantages to AREL in terms of making some of our
code a lot cleaner where we are trying to daisy chain user provided
selection criteria together.
It also opens the door to moving from prototype to jquery which will
hopefully enable many clever things. Rails 3.0 defaults to prototype but
can use jquery instead. Rails 3.1 defaults to jquery, but can use
prototype instead.
Tom
--
Tom Hughes (tom at compton.nu)
http://compton.nu/
More information about the rails-dev
mailing list