Sha256: e2c9ccddc377f041a0dfeeeb943ad06ef0260cc07db38476a14b92cf3deb8164

Contents?: true

Size: 363 Bytes

Versions: 17

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

require_relative "validate_params/version"
require_relative "validate_params/validatable"

Dir[File.join(__dir__, "validate_params/types", "*.rb")].sort.each { |file| require file }

module ValidateParams
  class Error < StandardError; end
end

ActiveSupport.on_load(:action_controller) do
  include ValidateParams::Validatable
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
validate-params-0.14.0 lib/validate_params.rb
validate-params-0.13.1 lib/validate_params.rb
validate-params-0.13.0 lib/validate_params.rb
validate-params-0.12.5 lib/validate_params.rb
validate-params-0.12.4 lib/validate_params.rb
validate-params-0.12.3 lib/validate_params.rb
validate-params-0.12.2 lib/validate_params.rb
validate-params-0.12.1 lib/validate_params.rb
validate-params-0.12.0 lib/validate_params.rb
validate-params-0.11.0 lib/validate_params.rb
validate-params-0.10.1 lib/validate_params.rb
validate-params-0.10.0 lib/validate_params.rb
validate-params-0.9.0 lib/validate_params.rb
validate-params-0.8.1 lib/validate_params.rb
validate-params-0.8.0 lib/validate_params.rb
validate-params-0.7.1 lib/validate_params.rb
validate-params-0.7.0 lib/validate_params.rb