I’m a java developer who has used tapestry for web development. I’m
trying to use rails now and am finding it very interesting. However
I’m by confused by the amount of functionality that should be included
in a controller.
In tapestry I am used to having multiple components on a page, where
each components logic is encapsulated in its own class, and the logic
for the page is encapsulated in a page class.
Can I think of the rails controller as a page class, where the logic
for each page is embedded in it and most of the actions in the
controller return the same view?
For some of you this might seem trivial, but until I get my head round
this I am not going to be very productive. I have read AWD 2nd edition
and am still not not sure how to approach the controllers. Can anybody
A Jabbar Azam