learn-co-curriculum / rails-js-assessment

Other
0 stars 10 forks source link

Rails 5 has data-disable-with enabled by default... #10

Open DanL12186 opened 7 years ago

DanL12186 commented 7 years ago

Which has made passing the fourth requirement extremely difficult... jQuery functions intended to fix this (e.g. $("#id).removeAttr("data-disable-with") etc. do not seem to work, at least on Rails 5.1. Been at this for hours with no success. Maybe I'm missing something obvious, but perhaps this should be addressed as Rails 5 is increasingly used?

Edit: Naturally, I found this seconds after posting, by looking at one of the non-top-rated-green-checkbox answers on SO: data: { disable_with: false }