Displaying 7 results from an estimated 7 matches for "aaron_patterson".
2007 Feb 07
15
https with certificates
I poked around the web a little and didn''t run across how to use https
when it asks for certificate validation.
I''m trying to connect to devices that don''t have valid certificates,
and in this case, I don''t care if they are or not.
So when I use my browser to ge to the site, firefox asks me to allow
the certificate, then one other question, then I get the
2007 Jan 04
5
Help accessing http headers?
Hi,
I''m using Mechanize, and I''ve developed a lot of code around it. I''d like
to be able to check the Etag header during a get to see if the page has
changed, as well as some other http header information. Can I do that
without hacking Mechanize myself?
Does anyone have any examples of how to do this?
William
2007 Jan 27
7
Getting elements from a web page
I am new to Mechanize and was wondering if there was a built-in method
to get the elements that are on the page that are not part of a form.
A couple of examples would be my banking site lists my entries and I
want them to go into an array so that I can handle them.
Or another site I use, does some categorization for me and I would like
to manipulate it and present it differently to a user.
2006 Oct 11
2
Mechanize: save and cancel doesn''t work in JSPWiki
I''m trying to submit data in JSPWiki (edit page). I can read the data
in the form, but nothings get saved when I submit the page. Cancel
doesn''t work either. I don''t get any errors. There is no JavaScript
used to submit the form.
After I''m logged in I do the following:
def save(page, content)
@agent.get(@base_url + "Edit.jsp?page=#{page}")
2006 Apr 18
1
Custom Database adapters
Hi. I''ve created a custom database adapter, but I''d like to modify the
RAILS_CONNECTION_ADAPTERS variable, and add the adapter in my rails app
rather than modifying the activerecord directory.
Does anyone know how to do this, or can point me to info online? Thank
you.
--Aaron
2007 Feb 27
0
mechanize 0.6.5 Released
mechanize version 0.6.5 has been released!
http://mechanize.rubyforge.org/
The Mechanize library is used for automating interaction with websites.
Mechanize automatically stores and sends cookies, follows redirects,
can follow links, and submit forms. Form fields can be populated and
submitted. Mechanize also keeps track of the sites that you have visited as
a history.
Changes:
=
2006 Sep 11
0
mechanize lists
On Mon, Sep 11, 2006 at 09:04:49AM -0400, Mat Schaffer wrote:
> I noticed that my message is the first post to mechanize-
> users at rubyforge.org. Should I post to devel? That looks empty too,
> but I thought I''d check if you were only watching the devel list and
> not the users list.
Hey Mat, this is definitely a bug in mechanize. If you add this to your
script, it