like no matter if I email to this group or post to this group on google groups, with the subject deal with Controller and Action logic in RJS? then the message is on the google groups website, but a search of "RJS" in this group doesn''t show my message at all... is it a google problem or something else i wonder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 14, 2007, at 7:05 PM, kendear wrote:> deal with Controller and Action logic in RJS? > > then the message is on the google groups website, but a search of > "RJS" in this group doesn''t show my message at all...i''m guessing this is a google problem. does the string ''rjs'' show up in the body of your post? -faisal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 9/14/07, Faisal N Jawdat <faisal-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote:> > > On Sep 14, 2007, at 7:05 PM, kendear wrote: > > deal with Controller and Action logic in RJS? > > > > then the message is on the google groups website, but a search of > > "RJS" in this group doesn''t show my message at all... > > i''m guessing this is a google problem. does the string ''rjs'' show up > in the body of your post?Yes it does... the following is the post: Subject: deal with Controller and Action logic in RJS? The question is, should we deal with Controller and Action logic in the RJS file? If so, is it quite "spaghetti-like"? This is actually for the Agile Web book Shopping Cart example: If the user clicks "Remove Item" and we do it the AJAX way, what if we want to first show the cart''s content as 0 x Pragmatic Version Control $0.00 and then highlight it to red and back to the background color (flashing its color) and then we will render the cart again so that the line will disappear. Then we actually first have to decrement the quantity from 1 to 0, then use the RJS file to draw the cart, and highlight the line (flashing its color), and then again in the RJS file, deal with the Action logic to remove the CartItem from Cart (possible by calling a method in the StoreController class) and then redraw the cart again? This is somewhat spaghetti like... is it that in MVC 1, the Action mixes with view logic and it is better for AJAX, but for MVC 2, the Action is separate from the View, so AJAX will be done by going back and forth from Action to View and back to Action again? (could be several times back and forth). Kenneth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, I would concur that posts do not seem to always appear. Could be I am doing something odd, but cant work out what. I recently put in a post about CSV data for tests and fixtures. I know it must have been submitted cos I got an off list response. But I have not seen it in the digest and cannot get to it by searching. Either by searching on [csv test] and sorting by date, or by seaching on Tonypm, which brings up my posts, but not that one. Tonypm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---