RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Rails 6.1 adds support for validating numeric values that fall in a range

The numericality validation helper now accepts in: as an option for which the value must be a range.

https://blog.saeloun.com/2021/02/05/add-validate-numericality-in-range

Comments

WARNING: this feature has been merged to main branch, but as of now (September 2021) has not been released yet!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in