> Hold on now -- display logic definitely belongs in the view, e.g.
You're right. I may have gone to far with my statement. For example,
I have encountered some instances where I wanted to loop through data
in order to present a display. It's far better to loop through the
data and create the display in the view than it is to pass the loop
output to the view. Anyway, the thing is that I think that I have
been putting to much logic in the view. That can easily be seen from
my original question where I wanted to redirect from a view. I'm
going to be more cognizant of this in the future by forcing myself to
justify any inclusions of significant logic in the view. Thanks.
... doug
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---