Sha256: 64e8a1f4316757b9052b0db4320381a190c8645d042e53038dea5918cceecb94

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

module SoaringSimpleCaptcha
  class CustomFormBuilder < (defined?(::Formtastic::FormBuilder) ? Formtastic::FormBuilder : ::Formtastic::SemanticFormBuilder)

    private

    def simple_captcha_input(method, options)
      options.update :object => sanitized_object_name
      self.send(:show_simple_captcha, options)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soaring_simple_captcha-0.1.6 lib/soaring_simple_captcha/formtastic.rb