mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
no need to freeze this string
This commit is contained in:
parent
2524cf404c
commit
c8a2dd3cac
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ module ActiveRecord #:nodoc:
|
||||||
# Defines the column name for use with single table inheritance. Use
|
# Defines the column name for use with single table inheritance. Use
|
||||||
# <tt>set_inheritance_column</tt> to set a different value.
|
# <tt>set_inheritance_column</tt> to set a different value.
|
||||||
def inheritance_column
|
def inheritance_column
|
||||||
@inheritance_column ||= "type".freeze
|
@inheritance_column ||= "type"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lazy-set the sequence name to the connection's default. This method
|
# Lazy-set the sequence name to the connection's default. This method
|
||||||
|
|
Loading…
Reference in a new issue