aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/resource_helpers.rb
diff options
context:
space:
mode:
authorMauricio Linhares <mauricio.linhares@gmail.com>2014-01-29 01:56:20 -0300
committerMauricio Linhares <mauricio.linhares@gmail.com>2014-01-29 12:37:00 -0300
commit66e533f9b13f2ea1f56a19246af55621cc368489 (patch)
tree7f63409243031eaaea72dad8b32ab1f980238a64 /railties/lib/rails/generators/resource_helpers.rb
parentf142527eb30626904cb1e655a1a28801f08b8acf (diff)
downloadrails-66e533f9b13f2ea1f56a19246af55621cc368489.tar.gz
rails-66e533f9b13f2ea1f56a19246af55621cc368489.tar.bz2
rails-66e533f9b13f2ea1f56a19246af55621cc368489.zip
Correctly send the string given to lock! and reload(:lock) to the lock scope - fixes #13788
As per the documentation at lock!, if the :lock option is a string it should use the given SQL to generate the lock statement.
Diffstat (limited to 'railties/lib/rails/generators/resource_helpers.rb')
0 files changed, 0 insertions, 0 deletions