Example Rails app configured to use the acts_as_textcaptcha gem
Ruby HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
lib/tasks
public
test
.gitignore
.ruby-version
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
app.json
config.ru

README.md

ActsAsTextcaptcha Demo

An example Rails application configured with the acts_as_textcaptcha gem, and deployable with Heroku's one-click deploy button. Use this app to play around with configuring the gem in different ways.

Deploy

You can try out a running demo of this app here.

Configuration

The Rails app contains one ActiveRecord model Comment, that validates with a correct textcaptcha logic answer (on create). It is configured with a config/textcaptcha.yml file that sets a few options and includes fallback questions (in the event of a failed API request).

To identify calls to the API (at textcaptcha.com) the TEXTCAPTCHA_API_IDENTIFIER ENV variable must be set. If you are deploying with Heroku's one-click button, this will be auto-generated for you.

For more information on the acts_as_textcaptcha gem and how to configure it, see the links below.

Links

Who's who?