I\'ve captured the login HTTP headers using firefox plugin LiveHTTPheaders.
I\'ve found the following url and variables.
POST /login email=myemail%40gmai
post() doesn't take a block. Try this:
page = browser.post('http://www.mysite.com/login', { "email" => "myemail%40gmail.com", "password" => "something", "remember" => "1", "loginSubmit" => "Login", "url" => "" })
edit: changed for accuracy