Displaying 20 results from an estimated 2000 matches similar to: "problem with simlpe captcha"
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>
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 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 <
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
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
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
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
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
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
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
2018 Jun 01
0
Syslinux wiki Incorrect or missing CAPTCHA
Trying to update one page of the Syslinux wiki, I keep getting:
"Incorrect or missing CAPTCHA."
when I click on "SAVE PAGE".
Obviously, I am writing this email because that message is not true; I
correctly resolved the captcha, and I got the message that it was
resolved OK, before I clicked on "SAVE PAGE".
Is there anything a Syslinux Wiki Administrator could do
2008 Dec 28
7
2.2.2 simple_captcha upgrade error
So thanks to Craig, i got up and running on rails 2.2.2, though now i''m
dealing with a whole new can of worms. I''ve done a good bit o searching
and haven''t found any solid leads. I''m using the simple_captcha plugin
on my site, and all is well until i call that plugin.
http://www.pastie.org/347721
ActionView::TemplateError (undefined method
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>
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/.
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/.
2006 Apr 11
0
KittenAuth vs. CAPTCHA
Is anyone working with KittenAuth instead of using CAPTCHA?
--
Posted via http://www.ruby-forum.com/.
2014 Feb 12
0
[fdo] Captcha added for subscription
Hi all,
as some of you've probably noticed, list subscriptions have been broken
for a few days. This was an attempt at handling a sustained
spam-through-signup attack. Obviously, we needed something better and
list signups now require people to solve a captcha. Hopefully this
should solve the problem.
Please let me know if there are any problems.
--
Tollef Fog Heen
UNIX is user
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)
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.