uses simple_captcha instead of recaptcha [#51]

This commit is contained in:
rgarcia
2015-08-10 20:24:56 +02:00
parent ee463f2ab1
commit 4839081ad2
29 changed files with 144 additions and 100 deletions

View File

@@ -0,0 +1,15 @@
class CreateSimpleCaptchaData < ActiveRecord::Migration
def self.up
create_table :simple_captcha_data do |t|
t.string :key, :limit => 40
t.string :value, :limit => 6
t.timestamps
end
add_index :simple_captcha_data, :key, :name => "idx_key"
end
def self.down
drop_table :simple_captcha_data
end
end