diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-02-10 22:31:35 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-02-11 10:26:23 +0900 |
commit | bb2a7c38d8db5be7ac361ef208afba889370a5a9 (patch) | |
tree | b09c9c40859aa9cefe440cfbbfb69feb4b2cbf5d /activerecord/lib/active_record/locking/optimistic.rb | |
parent | 17d9996c91918df4c32b8ed7c67c2bbe715cfc9d (diff) | |
download | rails-bb2a7c38d8db5be7ac361ef208afba889370a5a9.tar.gz rails-bb2a7c38d8db5be7ac361ef208afba889370a5a9.tar.bz2 rails-bb2a7c38d8db5be7ac361ef208afba889370a5a9.zip |
Refactor `quote_default_expression`
`quote_default_expression` and `quote_default_value` are almost the same
handling for do not quote default function of `:uuid` columns. Rename
`quote_default_value` to `quote_default_expression`, and remove
duplicate code.
Diffstat (limited to 'activerecord/lib/active_record/locking/optimistic.rb')
0 files changed, 0 insertions, 0 deletions