Apidock_header
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog
Use OpenID
  • Rspec_icon_16RSpec
  • Rails_icon_16Ruby on Rails
  • Ruby_icon_16Ruby
method

validates_size_of

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveModel::Validations::HelperMethods
  • 1.0.0
  • 1.1.6
  • 1.2.6
  • 2.0.3
  • 2.1.0
  • 2.2.1
  • 2.3.8
  • 3.0.0 (0)
  • 3.0.9 (38)
  • 3.1.0 (0)
  • 3.2.1 (0)
  • 3.2.8 (0)
  • 3.2.13 (0)
  • 4.0.2 (0)
  • 4.1.8 (0)
  • 4.2.1 (0)
  • 4.2.7 (0)
  • 4.2.9 (0)
  • 5.0.0.1 (0)
  • 5.1.7 (0)
  • 5.2.3 (0)
  • 6.0.0 (0)
  • 6.1.3.1 (0)
  • 6.1.7.7 (0)
  • 7.0.0 (0)
  • 7.1.3.2 (0)
  • 7.1.3.4 (0)
  • What's this?

Related methods

  • Instance methods (12)
  • Importance_0_sm _merge_attributes Icon_private_sm
  • Importance_1_sm validates_absence_of
  • Importance_2_sm validates_acceptance_of
  • Importance_2_sm validates_comparison_of
  • Importance_2_sm validates_confirmation_of
  • Importance_2_sm validates_exclusion_of
  • Importance_3_sm validates_format_of
  • Importance_2_sm validates_inclusion_of
  • Importance_3_sm validates_length_of
  • Importance_3_sm validates_numericality_of
  • Importance_3_sm validates_presence_of
  • Importance_1_sm validates_size_of

Icon_private_sm = private
Icon_protected_sm = protected

validates_size_of(*attr_names) public

Alias for ActiveModel::Validations::HelperMethods#validates_length_of

Register or log in to add new notes.
  • Welcome
  • Register
  • Projects
  • Help
  • About
  • Blog


APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at

Go to Nodeta blog APIdock copyright Nodeta Oy 2008-2025