similar to: Simple Captcha - Update attributes?

Displaying 20 results from an estimated 10000 matches similar to: "Simple Captcha - Update attributes?"

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 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.
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>
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
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/.
2011 Jan 18
2
how to get captcha image with mechanize ?
Hey, how to get captcha image with mechanize ? the image is not a static picture, it''s a stream, a text-model. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20110118/bf9a58ff/attachment.html>
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)
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
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
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
2006 Jun 08
5
update only the join table in a HABTM - how?
I have a photographers app that requires giving access to galleries for users. in one part, I want to be able to define gallery access for a user seperate from updating any of the user info. I have this function: def edit_access @user = User.find(params[:id]) @user.galleries = Gallery.find(params[:gallery_ids]) if params[:gallery_ids] if @user.update_attributes(params[:user])
2007 Oct 24
1
simple_captcha + model
Hi Experts, l have model called User class User < ActiveRecord::Base apply_simple_captcha end in view <%= show_simple_captcha(:object=>"user") %> in controller @user = User.fiind(params[:id]) if @user.valid_with_captcha? if @user.update_attributes(params[:use]) -------- else --------- end else -------------------- end as per this
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 Jul 01
3
Captchas in Rails
Hello Everyone, I was wondering what people on this list were using to generate captchas within forms on sites they are developing? I know there is a ruby gem named captcha, but I have seen some others floating around as well. Thanks, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 Jan 25
2
Update join_table attributes
I have two ActiveRecord classes that point at each other with a "has_and_belongs_to_many" (habtm) relationship using a join table. The join table has an a few additional columns besides the _id columns. For those of you with the Agile Web Dev w/ Rails book, it''s exactly the same setup as the articles<->articles_users<->users example on p240. The habtm
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
2009 Apr 20
3
xxx.valid? still true after xxx.errors.add(...)?
Hi all I have the following code in my controller: if @comment.valid? captcha_url = "http://captchator.com/captcha/check_answer/#{captcha_code}/#{@comment.captcha}" result = open(captcha_url) unless result.read == "1" @comment.errors.add(:captcha, "Captcha wurde nicht korrekt eingegeben") raise "#{@comment.valid?}"
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 Sep 10
2
Simple_captcha issue
I have a weird issue .I am using simple captcha in forms in my rails applications. If I am using one captcha in a web page I don''t have any problem. But I have a scenario of using three(3) forms in one page in which all the three forms will have the captcha . So that when I refresh the page the captcha data of the three forms are equal. When we come to database