How we can show the action of different model


#1

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