Sha256: 09bbce7b888627bbb1713d18bfea21716484efb64a8e751d1228b3851b76ed46

Contents?: true

Size: 347 Bytes

Versions: 202

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

module ActiveModel
  module Validations
    module HelperMethods # :nodoc:
      private
        def _merge_attributes(attr_names)
          options = attr_names.extract_options!.symbolize_keys
          attr_names.flatten!
          options[:attributes] = attr_names
          options
        end
    end
  end
end

Version data entries

202 entries across 197 versions & 20 rubygems

Version Path
activemodel-8.0.2 lib/active_model/validations/helper_methods.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/activemodel-7.0.8.7/lib/active_model/validations/helper_methods.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activemodel-7.1.3.4/lib/active_model/validations/helper_methods.rb
activemodel-8.0.1 lib/active_model/validations/helper_methods.rb
activemodel-8.0.0.1 lib/active_model/validations/helper_methods.rb
activemodel-7.2.2.1 lib/active_model/validations/helper_methods.rb
activemodel-7.1.5.1 lib/active_model/validations/helper_methods.rb
activemodel-7.0.8.7 lib/active_model/validations/helper_methods.rb
activemodel-8.0.0 lib/active_model/validations/helper_methods.rb
activemodel-7.2.2 lib/active_model/validations/helper_methods.rb
activemodel-7.1.5 lib/active_model/validations/helper_methods.rb
activemodel-8.0.0.rc2 lib/active_model/validations/helper_methods.rb
activemodel-7.2.1.2 lib/active_model/validations/helper_methods.rb
activemodel-7.1.4.2 lib/active_model/validations/helper_methods.rb
activemodel-7.0.8.6 lib/active_model/validations/helper_methods.rb
activemodel-6.1.7.10 lib/active_model/validations/helper_methods.rb
activemodel-8.0.0.rc1 lib/active_model/validations/helper_methods.rb
activemodel-6.1.7.9 lib/active_model/validations/helper_methods.rb
activemodel-7.2.1.1 lib/active_model/validations/helper_methods.rb
activemodel-7.1.4.1 lib/active_model/validations/helper_methods.rb