This makes sense. But on the other side, if I put this method in the helper 
(as I did) then I'm embedding business login in the helper (if > 5), am I 
not?

It's more a logical question. Is the *"if visits are more than 5 display 
the counter"* business logic or not? Which part of the framework should be 
responsible for deciding if to render the counter?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/lvVLnBiPYc0J.
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.

Reply via email to