Hello,
Rails Best Practices is telling me to move some code from one of my
helper views into the controller. I was hoping to get some assistance as
I'm unsure how to do this and still have the application work.
The helper: http://pastie.org/private/pfub9iklus5ajuu1iwvfza
The report says I need to move the second and third lines into the
controller, but if I do that, how does the rest of the code know how to
work?
Thanks,
Andrew Davis
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment