ok, well I need to flip a few boolean values to begin the group order
process.



On Wed, Aug 22, 2018 at 11:22 AM, Colin Law <clan...@gmail.com> wrote:

> On Wed, 22 Aug 2018 at 15:36, Joe Guerra <jgue...@jginfosys.com> wrote:
> >
> >
> > I know how to update records, but not sure where I should put my code
> when product qty == 0.
> > I do have a flash notice on the show page that displays a message when
> the last item is left.
> >
> >  Should I put update the records on the show page as well ?  (when qty
> == 0 )
>
> Your question is difficult to understand given that we have no
> knowledge of your application other than the text above.  Why do you
> need to update any records if the the quantity is already 0?
>
> Colin
>
> >
> > Thanks,
> > Joe
> >
> > --
> > 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 rubyonrails-talk+unsubscr...@googlegroups.com.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/
> msgid/rubyonrails-talk/d42a9d8f-ac89-49d1-bb26-
> 7485877e3b84%40googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/rubyonrails-talk/CAL%3D0gLsYncfSeOXSv6SCYq3XXfoxYuq
> 8sMVUqm-h9H03U29hag%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMnrpt%3DtX6s7f8JaJDVWZ82xSiGJ4b-VKP7ZW_LLey7b8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to