Please ask questions like this in rails-talk list:
https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-talk
<https://groups.google.com/forum/?fromgroups#%21forum/rubyonrails-talk>
rails-core is meant to discuss changes in the Rails source itself while
rails-talk is focused on apps created with Rails as well as design advices.
Best,
Rodrigo.
Em 20-06-2012 10:44, Shalini Sah escreveu:
Hi,
I am a newbie in rails. I am creating a rails app where I query an
existing database consisting of multiple tables. I created a model
file corresponding to each database in the model folder. Now the
problem is I want a consolidated view for all the models. My app will
basically take some inputs from user and generate a summarized view
based on the given inputs by querying multiple tables (and thus
interacting with many models). So shall i create just one controller
and put the entire logic in it?? or can i transfer some logic to
helpers? What would be the ideal design in this case?
Any help is really appreciated!!
Thanks & Regards,
Shalini Sah
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" 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-core?hl=en.