No. You can write all kinds of websites without any JS. The only
slight user hostility in various corners of the application. For
should pre-select your first edit field, like www.google.com’s home page
And you must avoid RoR constructions that spontaneously generate JS…
A little background to this question: I created a link that would
remove an element from the database. Thus, this link has a :method
=> :delete appended to the end.
Doesn’t that create a call to an HTTP DELETE verb? That can’t be what
because I suspect the basic intent is “delete this web page off your
When I look at the source this code
Is that code what’s required to convert a normal link into a DELETE
I loaded up
I was simply redirected to the show action.
Don’t use :method => :delete. A link that deletes should use :method =>
If you switch to that, do you get more JS?
Ruby on Rails that will simply not work? Thanks for your help!
An action that deletes should not call with the GET verb.
and a submit button. This looks ugly, but it's still tractable.
GMail in HTML-only mode, for example.