Hi, I am have recently followed a tutorial for a basic blog system
using Rails (version 2.0.2). In order to get used to the way to
develop Rails apps, I decided to improve on what the tutorial showed
However I have gotten caught on a snag, I have a Blogposts controller
and a Comments model which is working, (comments are displayed and
added properly) but I want my application to say something along the
lines of "No comments added" if there are no comments added.
I have tried using the .exists? method which is probably the way to do
it but I can't figure it out.
If anyone can help, assistance will be much appreciated.