Thiking to revive the prototype helpers from Rails 2.3 for Rails 5+

Skip to first unread message

Mathieu Jobin

Feb 29, 2020, 11:39:17 AM2/29/20
to Prototype &
I think the JS world as gone bad... I really like how things were with prototype JS and friends.
especially the helpers in ruby...

I wonder if there would be other people interested in using them.
I believe the last version was in rails 2.3.18, and prototype 1.6.0 was included at the time.

so I would try to make this work with rails 5 and 6, first.
then upgrading the library to 1.7.3+

would anyone else uses them? or would like to participate?



Walter Lee Davis

Feb 29, 2020, 11:51:32 AM2/29/20
I have used Prototype.js in Rails up to 4.2, and it worked well there. Goodies like the sortable list and other bits were usable there as well. I didn't try very hard to use them in 5, because by that time I was also working to use Bootstrap, and that was harder to use without jQuery. While it is possible to use both at once, I refuse to do that to my visitors.

It's ironically quite a bit easier to use Prototype in Rails >= 6, because there is no longer a hard dependency on jQuery. And the next Bootstrap will no longer require jQuery either.

As far as the Rails bits, I agree, it would be nice to have some of that back. Perhaps we could start by writing some helpers first, and then extract them out to a gem.

> --
> You received this message because you are subscribed to the Google Groups "Prototype &" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To view this discussion on the web visit

Reply all
Reply to author
0 new messages