[Rails] SASS load path?

2016-03-14 Thread Justin Stanczak
Putting this in my application.css.scss does not load the sass library. *@import 'foundation.scss';* Even if I put this in my config. *config.sass.load_paths << Rails.root.join( 'vendor', 'assets', 'components', 'foundation-sites', 'scss' )* Thanks. -- You received this message because you

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

2016-03-14 Thread Colin Law
On 14 March 2016 at 16:15, Bigmac Turdsplash wrote: > > Here is a demo that I can make work for my situation. > With the actioncontroler::live Module. > > 10.times do |X| > Response.stream.write("hi world #{X}") > Sleep 1 > End > Ensure > Response.stream.close > > As for a button to trigger the ev

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

2016-03-14 Thread Bigmac Turdsplash
https://youtu.be/O9w_hxoxtW0 Here is a demo that I can make work for my situation. With the actioncontroler::live Module. 10.times do |X| Response.stream.write("hi world #{X}") Sleep 1 End Ensure Response.stream.close As for a button to trigger the event, ill have to make due with a href=>/live

Re: [Rails] Re: Re: Re: Re: Find Weekdays range between two

2016-03-14 Thread Colin Law
On 14 March 2016 at 11:56, Naveed Alam wrote: >>> Colin >> > > Dear I changed the Days from names to numbers, in my Add_rosters its > like below now: > > <%= a.select :duty_day1, [[ "Monday","1"], > ["Tuesday","2"],["Wednesday","3"],["Thursday","4"],["Friday","5"],["Saturday","6"],["Sunday","0"]],

[Rails] Re: Re: Re: Re: Find Weekdays range between two

2016-03-14 Thread Naveed Alam
>> Colin > Dear I changed the Days from names to numbers, in my Add_rosters its like below now: <%= a.select :duty_day1, [[ "Monday","1"], ["Tuesday","2"],["Wednesday","3"],["Thursday","4"],["Friday","5"],["Saturday","6"],["Sunday","0"]],:selected => ["Monday","1"] %> Change the controller

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

2016-03-14 Thread Colin Law
On 13 March 2016 at 22:50, Bigmac Turdsplash wrote: > I have found the right module actioncontroler::live That will not let you do what you said you wanted to do, which was put the following on a web page <%= 100.times do |i|%> <%= print i*i%> <%= sleep 1%> <%=end%> and have it update the scr