Displaying 2 results from an estimated 2 matches for "search_pag".
Did you mean:
search_page
2006 Jul 22
1
Input on application design
...t the best way to keep each search in
it''s own controller instead of combining everything into one. I want
to avoid having to update both controllers when some shared piece of
code changes. Right now i have just one controller for both searches,
and the views use the generic @search and @search_pages instead of say
@dentist and @dentist pages. I''ve done a quick outline of how my
controller now work below. I''d really like to do this in separate
controllers, but I''m wondering where is the best place to put the
shared code in a situation like this.
def physician #...
2007 May 20
0
Urgent :: File Object problem
...login_form.Password = "jake"
login_form.PWORD = "jake"
main_page = agent.submit(login_form)
link = main_page.links.text("Find a Member")
if link==nil
puts "This account can''t login to Realtor site!!!"
else
#2. Go to search page
search_page = agent.click link
check_avai = search_page.body.include? "Server is temporarily
unavailable"
if check_avai
puts "Can''t load Search page. Server is temporarily
unavailable!!!"
exit 1
end
link = search_page.frames.with.name("Viewport&quo...