This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Doug (author)
Mon Apr 21 18:32:46 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
README | Mon Apr 21 18:32:46 -0700 2008 | [Doug] |
| |
Rakefile | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
init.rb | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
install.rb | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
lib/ | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
tasks/ | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
| |
test/ | Mon Apr 21 18:32:46 -0700 2008 | [Doug] |
| |
uninstall.rb | Mon Apr 21 18:28:07 -0700 2008 | [Doug] |
README
IsQuestionable
==============
Think customizable captcha's minus the image. Just simple logic. RMagic not required.
Example
=======
model
class Post < ActiveRecord::Base
captchas_with_question
end
<h1>New post</h1>
view
<%= error_messages_for :post %>
<% form_for(@post) do |f| %>
....
<%= questionable_fields(f) %>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
controller
class PostsController < ApplicationController
before_filter :assign_captcha_question, :only => [:new]
...
end
Copyright (c) 2008 softprops, released under the MIT license
inspired by github's nakajima's rails-math-capcha




