This project is archived and is in readonly mode.

#1006 ✓wontfix
Ben Johnson

Extract prototype related helpers into a plugin

Reported by Ben Johnson | September 9th, 2008 @ 07:43 PM | in 2.x

This is really a suggestion, maybe I can plant a seed and it will grow into something. I'm sure I'm not the first person to mention this either.

With jQuery in the picture it doesn't make sense to tie rails down to prototype. All of the javascript helpers are prototype specific, etc. Also, with jQuery, javascript helpers in general are not needed because its so easy to write unobtrusive javascript. Wouldn't it be smarter to extract all of this prototype specific code out into a plugin?

Every time I update rails I have to go in and delete the javascript files that I don't want, etc. Just seems very "unrails" like.

At the time rails was created prototype was probably the best choice, but I'm not sure that's true anymore. Maybe it's time to rethink this?

Just something I was thinking about. Thanks for listening.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages