mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
06756290d5
- When a ActiveRecord record get saved and validated as part of a
collection association, the errors attribute are changed to reflect
the children names. You end up with an error attribute that will
look like this:
`author.errors # {:'books.title' => [:blank]}`
|
||
---|---|---|
.. | ||
cases | ||
models | ||
validators |