Displaying 4 results from an estimated 4 matches for "simplecaptcha".
Did you mean:
simple_captcha
2009 Aug 16
5
any help with captcha in my comments ?
...uot;=>"asdasd", "_"=>""}
SyntaxError
(/Users/webstic/Sites/weblog/app/controllers/comments_controller.rb:11:
syntax error, unexpected kELSE, expecting kEND
else
^):
this is my code:
class CommentsController < ApplicationController
include SimpleCaptcha::ControllerHelpers
def create
if simple_captcha_valid?
@post = Post.find(params[:post_id])
@comment = @post.comments.create!(params[:comment])
respond_to do |format|
format.html { redirect_to @post }
format.js
else
flash[:notice] = "please right dow...
2010 Jan 29
4
simple captcha image not displaying
...o 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.
Thank you very much in advance.
-Christine
Attachments:
http://www.ruby-forum.com/attachment/4439/simplecaptcha.png
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this grou...
2010 Sep 19
4
Rails 2.3.8 - InvalidAuthenticityToken problem. URGENT!
...:secret =>
''9141fa2aa733a6f5307913680b13c2028f9cdd827f2daa898c4ad4bdf4da63dc7c17788c5028ad6eadaf8c81d0682dbd83d1bd05824d52a12fdc7500e37a6b47''
}
# application_controller.rb
class ApplicationController < ActionController::Base
include ApplicationHelper
# include SimpleCaptcha::ControllerValidation
include ExceptionNotifiable
helper :all # include all helpers, all the time
protect_from_forgery # :secret => ''sdasfagagsa'' # See
ActionController::RequestForgeryProtection for details
What is the correct configuration for forgery protection...
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/.