aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-06-01 10:07:35 +0200
committerXavier Noria <fxn@hashref.com>2013-06-01 10:23:08 +0200
commitf2855f6ef17254718f625abba285841212dfbb87 (patch)
tree8fb7a2066bfd725e686615edc2cbe284f631ff49 /activerecord/test
parent8ac8eb66c19d352dde548fc5c9a632ffbb586abe (diff)
downloadrails-f2855f6ef17254718f625abba285841212dfbb87.tar.gz
rails-f2855f6ef17254718f625abba285841212dfbb87.tar.bz2
rails-f2855f6ef17254718f625abba285841212dfbb87.zip
revises the documentation of ActiveRecord::Relation#find_or_create_by [ci skip]
* Inspect uses double quotes. * Inspect puts a hash as in #<User ...>. * Documents the return value, and makes explicit it can be an invalid record. * Documents the method is not atomic. * Documents a way to handle UNIQUE contraint violations in the event of a race condition. * Removes the "Examples" header according to our guidelines.
Diffstat (limited to 'activerecord/test')
0 files changed, 0 insertions, 0 deletions