Forum: Ruby on Rails how we can show the action of different model

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
parikshit (Guest)
on 2006-04-07 13:11
(Received via mailing list)
Actually i am doing with one login form.
i verify it with the database value.
def valid
		@user =[:login])
		@logins= Login.find_all
 now i write in valid.rhtml

	  "Recipetest/list"  %>

I have two tables logins and recipetests.
so if in the valid.rhtml page if condition get true means in if block
i want to show
how i can i do that.
plese help me
This topic is locked and can not be replied to.