Rails controller
- by Asso
Hello everyone!
Newb in Rails
i Have this problem that i cannot figure out. I've followed the sample blog dimostration form the ruby doc but now i have a problem.
Let's say that in the app index page for each post i also want to show the first comment of that post.
sure i need to cycle all the post to get the post id but how can i get the first comment of that post?
how can i manage the homeController and the view ?
thanks since now!