I have found the right module actioncontroler::live
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrail
Dear community,
I have a small concern about remote true.
I am building simple twitter site. Let's say user has "tweet" from on
the main page and a list of tweets below.
here is what I do:
<%= form_tag("/tweets", method: "post", class: "new-tweet") do %>
<%= label_tag(nil, "New tweet") %>
On 13 Mar 2016 19:08, "Bigmac Turdsplash" wrote:
>
> Colin Law wrote in post #1182158:
> > On 13 March 2016 at 02:55, Bigmac Turdsplash
> > wrote:
> boundaries.
>
> Colin
> >>>
> >>> Maybe just a example for if button is pressed then <=%puts 'hi
WORLD'=>
> >>
> >> I found gem puma,
Colin Law wrote in post #1182158:
> On 13 March 2016 at 02:55, Bigmac Turdsplash
> wrote:
boundaries.
Colin
>>>
>>> Maybe just a example for if button is pressed then <=%puts 'hi WORLD'=>
>>
>> I found gem puma, seems like the right place to start
>
> Puma is the web server that is
> "(duty_day1 <= duty_day2 and duty_day1 <= ? and duty_day2 >= ?) or
> (duty_day1 > duty_day2 and (duty_day1 <= ? or duty_day2 >= ?))",
> today, today, today, today
> I have not tested that so convince yourself it is right before trying
> it. Don't forget to provide automated tests to check all th
On 13 March 2016 at 14:46, Naveed Alam wrote:
> Colin Law wrote in post #1182172:
>> On 13 Mar 2016 14:06, "Naveed Alam" wrote:
>>> Employee_id
>>> duty_name
>>> duty_day1 //start day
>>> duty_day2 //end day
>>> duty_time
>>
>> What is saved in duty_dayn? Day as string or as number (0..7)?
>
Colin Law wrote in post #1182172:
> On 13 Mar 2016 14:06, "Naveed Alam" wrote:
>> Employee_id
>> duty_name
>> duty_day1 //start day
>> duty_day2 //end day
>> duty_time
>
> What is saved in duty_dayn? Day as string or as number (0..7)?
Its, Monday, Wednesday etc. as string
--
Posted via http
On 13 Mar 2016 14:06, "Naveed Alam" wrote:
>
> > Also how do you record which RosterDuty records relate to a particular
> > person?
> >
> > Colin
>
>
> My field names are as below:
>
> id
> Employee_id
> duty_name
> duty_day1 //start day
> duty_day2 //end day
> duty_time
What is saved in duty
> Also how do you record which RosterDuty records relate to a particular
> person?
>
> Colin
My field names are as below:
id
Employee_id
duty_name
duty_day1 //start day
duty_day2 //end day
duty_time
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are su
On 13 March 2016 at 12:07, Colin Law wrote:
> On 13 March 2016 at 10:49, Naveed Alam wrote:
>>> and so on to see what is not working and fix it. If you don't do that
>>> then you will never know why the code is not doing what you want.
>>>
>>> After you have done that and either got it working o
On 13 March 2016 at 10:49, Naveed Alam wrote:
>> and so on to see what is not working and fix it. If you don't do that
>> then you will never know why the code is not doing what you want.
>>
>> After you have done that and either got it working or hit a brick wall
>> then come back and ask if the
> and so on to see what is not working and fix it. If you don't do that
> then you will never know why the code is not doing what you want.
>
> After you have done that and either got it working or hit a brick wall
> then come back and ask if there is a better way.
>
> Colin
Sorry for not making
On 13 March 2016 at 09:53, Naveed Alam wrote:
> Dear Friends,
>
> I have values in table for duties assigned on certain days ranges, e.g
> Monday to Tuesday, Wednesday to Friday.
>
> Now I want to show the duties assigned to a person on main screen if the
> day of current date is in the range of w
Dear Friends,
I have values in table for duties assigned on certain days ranges, e.g
Monday to Tuesday, Wednesday to Friday.
Now I want to show the duties assigned to a person on main screen if the
day of current date is in the range of weekdays assigned to him/her.
I tried the below but no idea
On 13 March 2016 at 02:55, Bigmac Turdsplash wrote:
> Bigmac Turdsplash wrote in post #1182156:
>> Colin Law wrote in post #1182154:
>>> On 12 March 2016 at 17:46, Bigmac Turdsplash
>>> wrote:
> exactly that sort of task that javascript was invented.
i dont know what im doing, but im exc
15 matches
Mail list logo