similar to: how to get captcha image with mechanize ?

Displaying 20 results from an estimated 700 matches similar to: "how to get captcha image with mechanize ?"

2011 Mar 27
2
LinkedIn still not working?
To clarify the issue I posted earlier: I am on OS X 10.6.7. Trying to use Mechanize to log in to LinkedIn. As others have posted about in the past, when I submit the form it kicks me back to the LinkedIn landing page, and does not log me in. I read the earlier discussion of the issue that mentioned how cookie values were being improperly dequoted when stored. But I thought that issue was fixed.
2006 Nov 02
5
Adding fields to a form
Is there a decent way to add a field to a form before posting it? I haven''t tried using HPricot manipulations just yet, since I can''t ever find really solid docs on hpricot.... Form#[]= doesn''t work because it first searches only pre-existing fields. I''m investigating how to write a patch now. But I thought maybe someone here might have an idea.
2012 Apr 30
3
way to get response headers only?
Hello, I''m interested in grabbing the final uri of a given uri after any redirects without retrieving the response body of this final uri. For example, if uri1 redirects to uri2, which in turn redirects to uri3, I''d like to just grab the response header of uri3. I know that I can get the full response (header and body) by doing Mechanize.new.get(uri1).uri, but again,
2009 Apr 02
8
Problem with Custom matcher and Blocks
Hi, I''m trying to write my first custom matcher. Here''s a bit of my example group. describe "/contact/index" do include FormMatchers before(:each) do render ''contact/index'' end it "should show the contact form" do response.should have_a_contact_form end describe "the contact form" do context
2008 Nov 11
1
captcha plugin
Hi all, I was working through the simply rails book, i have completed up to chapter 10, now i would like to add a captcha to my login form, where can i get the captcha plugin? can anybody suggest any links for captcha plugin that would work for rails version 2.0.2 ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2009 Dec 07
3
captcha
Hi all, I want to implement a captcha on my register page to help weed out any ''non-human'' visitors. I was told to check out http://expressica.com/simple_captcha/ but the site isnt responding. Does anyone have any other reccomendations that are tried and tested & successful? Many Thanks -- You received this message because you are subscribed to the Google Groups
2010 Jan 29
4
simple captcha image not displaying
Attached is an image of my problem but here goes. Installed RoR to run Raillist. I installed it per instructions and everything seems to be working great except I can''t get my captcha images to show I am not sure what the problem is as I am a complete noob to RoR. Any pointers towards a direction to fix would be greatly appreciated! If you need to the site address is secondlist dot org.
2006 Jul 16
1
Captcha Module
Does anyone have a link to an example of the module Captcha<http://captcha.rubyforge.org/>being used? I really apprecite it. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060716/2d09e74c/attachment.html
2011 Sep 09
9
Captcha conception
Hi guys, the next problem: I create a controller, (/controllers/rmagick_controller.rb), which have aim to test an captcha Actions: def download # creates an captcha image def show # show the page where image took place def check # must check right captcha or wrong views/rmagick/show.html.erb: > <div id="captcha"> > <p><%= image_tag download_rmagick_path
2010 Feb 20
6
Captcha Trouble
Hello Rails, I have a problem. I would like to use captcha in one of my project. When I did try to install, this is what I got $ sudo gem install captcha Building native extensions. This could take a while... ERROR: Error installing captcha: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
2007 Jun 12
1
Captcha, account verification in RoR
I am creating a Ruby on Rails site and am curious about the best way to stop spam on the site. For account creation there is: a) Captcha b) email verification For messages, forums I am sure you could try to check the message for any weird characters or typical spam phrases. I saw in the other post there is the hivelogic email enkoder for hiding email addresses for protecting email addresses. I
2009 Jul 26
1
Simple Captcha - Update attributes?
I am using the great simple captcha plugin for saving records like this if @xxx.save_with_captcha do something else do something end How do I use it when updating records? if @xxx.update_attributes(params[:blah]) can I just say if @xxx.update_with_captcha(params[:blah]) do something else do something end -- Posted via http://www.ruby-forum.com/.
2009 Jun 07
6
Missing Template when testing with the Brain Buster Captcha partial
When I run my functional tests, they throw an error with the following message: ActionView::TemplateError: Missing template /_captcha.erb in view path app/views:test/vendor/plugins/brain_buster/views/brain_busters On line #23 of app/views/contacts/_form.html.erb 20: <%= f.label :message %><br /> 21: <%= f.text_area :message %> 22:
2006 Mar 09
6
rmagick and captcha
Has anyone implemented a captcha with ruby on rails and rmagick? I tried this example: http://wiki.rubyonrails.com/rails/pages/HowtoSecureFormsWithNoisyImages but I got an error: undefined method `size'' for #<NoisyImage:0x34d8070> Thank you -------------------------------------------------- Rodrigo Dominguez ? Iplan Networks ???????????????Datos Personales
2007 Feb 18
6
Simple Captcha for Rails
check out the simple captcha plugin for rails... http://expressica.com/2007/02/06/simple-captcha-released-the-captcha-for-rails-applications/ it is really simple to implement, just need one line of code in view and one line of code in controller or model as required. And it provides multiple image styles to be selected from. -- Posted via http://www.ruby-forum.com/.
2009 Aug 16
5
any help with captcha in my comments ?
this is my error: Processing ApplicationController#create (for 127.0.0.1 at 2009-08-17 00:57:56) [POST] Parameters: {"comment"=>{"name"=>"asdasd", "body"=>"asdasd"}, "commit"=>"Add Comment", "post_id"=>"19",
2006 Jul 16
0
Captcha Fun
Hello, I am trying to integrate a captcha into a form that is used to update a database. I am using a method that is outlined here: http://svn.2750flesk.com/validates_captcha/trunk/README, but things are not working correctly. The captcha image shows up in the user form, but the captcha input is being ignored. The following shows my controller file: class PublicController <
2010 Apr 06
1
captcha in a belongs_to
Hi I am using simple_captcha. I have two models User and Staff. Relation ship are User has_one staff staff belongs_to user Now in the staff edit I have to include a captcha. I did like <% form_for @user, :url => staff_url(@staff), :html => {:method => :put } do |f|%> <p> <%= f.text_field :first_name,:maxlength => 50 %> </p>
2010 Mar 01
0
stubbing CAPTCHA to pass Cucumber scenario
Hi, I''m trying to start using cucumber. I''ve done login, logout scenarious, but stumbled in CAPTCHA validation on user registration page. As I get I should stub CAPTCHA validation method. I guess I should implement stubbing Given step or include stubbing code in Before filter? I use validates_captcha gem, thus instance method to stub is module ValidatesCaptcha module
2009 Jun 24
0
[solved] CAPTCHA gem: undefined method `stringFT'
Since it took me quite some time to resolve this problem, I hope this post will be useful for someone else. I am using the CAPTCHA gem in my application and always got the following error: undefined method `stringFT'' for GD::Image:Class It turns out that I was missing the GD libs for ruby. I''m on ubuntu, so a quick sudo install libgd-ruby solved the problem for me. I also