1 Gemfilte
gem 'lazybox'
2 application.css
*= require lazybox
3 application.js
//= require lazybox
4 application.js
$.rails.allowAction = $.lazybox.confirm;
E nós terminamos
adicione classes a links para aplicar seu estilo:
$.lazybox.settings = {cancelClass: "button gray", submitClass: 'button gray', overlay: false}