Re: login web page using mechanize

2012-11-05 Thread Иван Бишевац
Start with http://stackoverflow.com/a/4172101/507018 and look at documentation at https://github.com/jnicklas/capybara. 2012/11/5 john smith > ok i need help with capybara. i keep finding pages with info about using > it with cucumber and sinatra and im not sure what any of that is. do i > need

Re: login web page using mechanize

2012-11-05 Thread Иван Бишевац
By the way, it's not copybara but capybara :) 2012/11/5 john smith > the "action" in the form = {action > "javascript:exit('/online/valdoc/cliksIndep_prcsslogin')"} > > -which im assuming means i need javascript, which mechanize cant handle? > > dave i tried your script,one i came up with was s

Re: login web page using mechanize

2012-11-05 Thread Иван Бишевац
It's ok, but I prefer google groups or better stackoverflow.com, because this could be interesting to other people. But of course if you need some help you can contact me by email. 2012/11/5 john smith > "Иван Бишевац" wrote in post #1082870: > > Yes, Capybara is a gem. Google for: ruby capyba

Re: Support for multiple Inheritance by classes

2012-11-05 Thread Robert Klemme
On Sun, Nov 4, 2012 at 12:49 PM, Ross Konsolebox wrote: > Arlen Cuss wrote in post #1082618: > > I think I can say "no" with a fair amount of confidence. > > > > Single-inheritance is considered a good thing (and MI has many > > pitfalls), too: http://www.artima.com/intv/tuesday2.html > > Thanks f

Re: Yield question

2012-11-05 Thread Robert Klemme
On Mon, Nov 5, 2012 at 1:10 PM, Assaf Shomer wrote: > Ruby beginner here. > I noticed the following code in the pickaxe book 1.9 page 101: > - > class VowelFinder > include Enumerable > def initialize(string) > @string = string > end > def each > @string.scan(/[aeiou]/

Re: login web page using mechanize

2012-11-05 Thread Иван Бишевац
Yes, Capybara is a gem. Google for: ruby capybara. Ok, if you need help call me. 2012/11/5 john smith > thank you. i am going to try your suggestion. is copybara a gem? i will > look into that as well. i would appreciate a simple script but i would > like to see if i can figure it out myself fi