1
0
Fork 0
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:
Aaron Patterson 2010-09-07 13:13:13 -07:00
parent 2524cf404c
commit c8a2dd3cac

View file

@ -588,7 +588,7 @@ module ActiveRecord #:nodoc:
# Defines the column name for use with single table inheritance. Use
# <tt>set_inheritance_column</tt> to set a different value.
def inheritance_column
@inheritance_column ||= "type".freeze
@inheritance_column ||= "type"
end
# Lazy-set the sequence name to the connection's default. This method