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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
parikshit (Guest)
on 2006-04-07 13:11
(Received via mailing list)
hiiiiiiiii
Actually i am doing with one login form.
i verify it with the database value.
def valid
		if request.post?
		@user = Login.new(params[:login])
		end
		@logins= Login.find_all
end
 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 http://127.0.0.1:3000/recipetest/list
how i can i do that.
plese help me
This topic is locked and can not be replied to.