Yes, that works perfectly.

Just need to add the following to rails.rb
attr_accessor :host
def host
   @host || "127.0.0.1"
end

and use Watir::Rails.host = "console.pntstr.com" in my setup.

It's indeed cleaner. Do you want me to create another patch?

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-rails/pull/1#issuecomment-16749066
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to