Re: [Rails] button to launch erb scripts and display outputs.

2016-03-12 Thread Colin Law
On 12 March 2016 at 07:34, Bigmac Turdsplash wrote: > i have a fresh rails application called basic... i have boot strap > working and looking to create a button that if pressed will launch a > ruby script and display its live output as it happens... > > button > > <%= 100.times do |i|%> > <%= p

[Rails] button to launch erb scripts and display outputs.

2016-03-11 Thread Bigmac Turdsplash
i have a fresh rails application called basic... i have boot strap working and looking to create a button that if pressed will launch a ruby script and display its live output as it happens... button <%= 100.times do |i|%> <%= print i*i%> <%= sleep 1%> <%=end%> i hope some one can point me i