Rolling with Ruby on Rails
Subject:   need help
Date:   2006-04-15 20:47:10
From:   Arican
I created tow tables clients and visits. Every client can have more than 1 visit so I edited my model classes as explained above. I need a view which shows the sql query " select v.* from clients C,visits V where" So I can see all the visits for a client. I tried to use visits.I tried <> in my html code in the tutorial it didn't work. I also tride using find_by_sql but it gave me ### on the screen. Is there a way to print the entire query?