Displaying 20 results from an estimated 10000 matches similar to: "Simple_captcha issue"
2010 Sep 12
11
Rails Commenting, Plugins?
Hello,
I''m looking to add comments to records in my app like Books. So a user
can view a Book and then comment on it...
As a newbie, is this something that I should build from scratch, or
are there any popular Commenting Plug-ins, (Ajax implemented) that
might be worth utilizing?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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
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 Sep 13
13
what I've missed in routes.rb?
In routes.rb I''ve put:
resources :sessions
controller is:
class SessionsController < ApplicationController
def destroy
session[:id] = nil
session.delete(:casfilteruser)
CASClient::Frameworks::Rails::Filter.logout(self)
end
end
In application.html.erb I have:
<%= link_to ''Logout'', session_path(session[:cas_user]), :method => :delete %>
I
2012 Feb 12
1
Rails devise with recaptcha
I''m trying to use the recaptcha gem with devise 2.0.0 in rails 3.2.1.
Every time I try, I am able to display the captcha and input the 2
words it asks about. But in my controller (using code I found on
github for the recaptcha gem, and after I replaced render_with_context
with just plain render) verify_recaptcha always returns false and when
I look at flash[:recaptcha_error] it says
2010 Sep 21
25
Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
Hello, I''m working to install the acts_as_commentable plugin on my
Rails 3 app.
After adding "acts_as_commentable" to my book model, I then added a
comment form on my book show view:
<% form_for(@comment) do|f| %>
<%= f.hidden_field :book_id %>
<%= f.label :comment %><br />
<%= f.text_area :comment %>
<%= f.submit "Post
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
2010 Sep 09
17
formtastic issue
Hello,
I will try to explain it step by step :-)
I just created a new rails 3 app, then I created a new controller...
rails generate controller admin::users
I didn''t forget to add the resources in the routes.rb file like this.
namespace :admin do
resources :users
end
Now I try to use formtastic to create the form but I get erorr that my
users_path doesn''t exist?
2012 Nov 02
4
How to test recaptcha in localhost?
Hi all,
I follow All the steps for recaptcha , but i am confused how to test on my
local host.
Because when we register in google recaptcha it ask for domain URL, i stuck
here.
Q What should i enter in domain url ?
Hope that you all understand the problem.
Thanks
Regards
Fahim Babar Patel
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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
2010 Sep 27
6
Rails 3 + jQuery ; How to show error messages
Hi guys,
can anyone explain how to show error_messages_on (like back in Rails
2 , without Ajax) fields that didnt'' pass the validation the jquery
way.
I googled for about 2 hours now and found nothing. Jquery works fine
and adds the content to my table, but im totally stuck with the whole
error/validation thing.
My form looks like this:
<%= form_for Translation.new , :remote =>
2010 Sep 17
25
Trying to look up comment through an ID, but failing
I am trying to allow users to reply through comments by allowing users
to click a reply link next to the parent comment. It will send in a
parameter to the ''new'' comment view, like so:
| <%= link_to "Reply", new_comment_path(:in_reply_to => comment.id) %>
The form will use the :in_reply_to parameter in order to save that id as
the parent id, like so:
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.
2008 Oct 01
10
Recaptcha (or other captchas)
Does anyone have any suggestions for a best practice implementation of
Recaptcha (or other captchas - if you recommend going another route, I''m
all ears)? I''ve found the recaptcha gem and a plugin but I don''t know
which is the best implementation, and I haven''t found a thorough
tutorial plus example code for either.
Thanks
--
Posted via
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/.
2010 Sep 27
9
Rails 3 - Creating a comment and then returning the Partial with JUST the new comment
Here''s the flow I have...
First, jquery posts the new comment to the server:
$.post(this.action,$(this).serialize(),null,''script'');
Then in the comments controller:
def create
@comment = lots of stuff going on here but it works...
if @comment.save
flash[:notice] = "Successfully created comment."
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time
poster.
I wanted to start getting into rails and have a play, I found a very
useful guide on the Internet detailing the install process for Ubuntu
10.04, after the install and setup process which seem to complete OK, i
went ahead and started my first project, however when I go to start the
server I get this message?
2010 Dec 27
6
RVM Issue
I''m a total rails newb and is trying to install RVM. The terminal
tells me that RVM installed just fine but when I try commands like
"rvm notes" or "rvm install 1.9.2" I get: "-bash: rvm: command not
found"
Does anyone know why?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
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 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: