This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
e93e45a502
rails--rails
/
activerecord
/
test
/
models
/
possession.rb
6 lines
102 B
Ruby
Raw
Normal View
History
Unescape
Escape
Use frozen-string-literal in ActiveRecord
2017-07-09 13:41:28 -04:00
# frozen_string_literal: true
Fix pluck when columns/tables are reserved words.
2012-09-05 18:00:07 -04:00
class
Possession
<
ActiveRecord
::
Base
applies new string literal convention in activerecord/test The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
2016-08-06 12:26:20 -04:00
self
.
table_name
=
"
having
"
Fix pluck when columns/tables are reserved words.
2012-09-05 18:00:07 -04:00
end
Copy permalink