aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_model_basics.md
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-01-27 10:47:15 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-02-12 23:57:15 +0900
commit811a4fa8eb6ceea841e61e8ac05747ffb69595ae (patch)
tree6ada1cfcf71a644d731f9ba7b55b7c06d260ee26 /guides/source/active_model_basics.md
parentf7aa4c92a0a0dd609b6e07a5db256c417d0aa235 (diff)
downloadrails-811a4fa8eb6ceea841e61e8ac05747ffb69595ae.tar.gz
rails-811a4fa8eb6ceea841e61e8ac05747ffb69595ae.tar.bz2
rails-811a4fa8eb6ceea841e61e8ac05747ffb69595ae.zip
Avoid a string value truncation in uniqueness validation
In MySQL, PostgreSQL, Oracle and SQLServer, a value over the limit cannot be inserted or updated (See #23522). In SQLite3, a value is inserted or updated regardless of the limit. We should avoid a string value truncation in uniqueness validation.
Diffstat (limited to 'guides/source/active_model_basics.md')
0 files changed, 0 insertions, 0 deletions