0

With jQuery being so much more popular and active than prototype. What is the state of the rails community? Are there plans to migrate from prototype and script.aculo.us to jQuery and jQuery.ui (ie integrating jQuery, jQuery.ui and jQuery-ujs into the baseline rails gem)?

2 Answers 2

3

DHH tweeted on 3/10/2011 that jquery will be the default javascript framework starting in version 3.1

Rails 3.1 will ship with jQuery as the default JavaScript library. Prototype helpers/RJS are going into a gem.

Much like you can use MooTools, Prototype will become something that you can use, but by default it will use jQuery.

Sign up to request clarification or add additional context in comments.

2 Comments

Beat me to it :p Anyone know if there's any more than that tweet on the subject? Like a blog post or something? I'd like to hear more comments from the rails dev about their reasoning.
what about jquery with rjs support?
0

Rails is made to be javascript framework agnostic.You can use whatever framework you prefer, gems are here to set it up for you.

Nowadays, prototype is just used as default.

2 Comments

that's not totally true, is it? I'm pretty new to rails, but even just the rjs helpers are all translated to prototype code.
that's right, but these helpers are not that useful, I use jQuery and use the kind of syntax you can find here: asciicasts.com/episodes/136-jquery

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.