Displaying 1 result from an estimated 1 matches for "follow_meta_refresh".
2007 Oct 07
1
How to store a Mechanize object in the database?
...database (using a Rails Model).
But the save operation throws a TypeError
Considering that "agent" is an instance of a Rails Model and "user" is
defined as a "text" type in the Model.
irb(main):039:0> agent.user = WWW::Mechanize.new
#<WWW::Mechanize:0xb71295f0 @follow_meta_refresh=false, @key=nil,
@user_agent="WWW-Mechanize/0.6.10 (http://rubyforge.org/projects/mechanize/)",
@log=nil, @proxy_addr=nil, @keep_alive=true, @user=nil, @pass=nil,
@conditional_requests=true, @proxy_port=nil,
@pluggable_parser=#<WWW::Mechanize::PluggableParser:0xb712953c
@parsers={"...