Hi Everyone,
I have developed a login authentication page, so if the correct
user logs in to application, he will shown a Home page. Home page
contains a top banner and logout link. For this i have a created a
controller called "home_controller" and module called "user"
and one
view "index.rhtml".
Now, below that banner i need to display a list of datas from
database. I have created a table called "contents", a controller
called
"contents" and a model called "content".
Please anyone tell me how to display that list in home page
(index.rhtml)
Thanks in advance...
Regards,
Vasanth
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---