Mark Radford

Joined

1,410 Experience
2 Lessons Completed
1 Question Solved

Activity

We can no longer use `deliver_now` or `deliver_later` with preview as it will throw an Net::OpenTimeout error. "Methods must return a Mail::Message object which can be generated by calling the mailer method without the additional deliver." http://api.rubyonrails.org/...

Posted in Button Loading Animations with jQuery UJS Discussion

Sorry if this is a little late but this is how I implemented a button without being type submit:

<%= button_tag "Save", data: {disable_with: " Signing in..."}, :id => "submit-document-button", class: "btn btn-success", type: "button" %>

Posted in Button Loading Animations with jQuery UJS Discussion

Does this only work with a submit button? ie it won't work with type: "button" ?

Fantastic stuff. Thanks for your efforts.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.