APIdock / Ruby on Rails
/
Browse About
method

validates_size_of

v7.0.0 - Show latest stable - Class: ActiveModel::Validations::HelperMethods
validates_size_of(*attr_names)
public

Alias for ActiveModel::Validations::HelperMethods#validates_length_of

Related methods

  • Instance methods
  • validates_absence_of
  • validates_acceptance_of
  • validates_comparison_of
  • validates_confirmation_of
  • validates_exclusion_of
  • validates_format_of
  • validates_inclusion_of
  • validates_length_of
  • validates_numericality_of
  • validates_presence_of
  • validates_size_of
  • Private methods
  • private_merge_attributes
APIdock API Documentation Browser

© 2026 APIdock