mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
adding a comment for myself
This commit is contained in:
parent
5dec3dd59c
commit
3e0ecde208
2 changed files with 9 additions and 8 deletions
|
@ -194,6 +194,7 @@ module ActiveRecord
|
||||||
|
|
||||||
# Returns the column object for the named attribute.
|
# Returns the column object for the named attribute.
|
||||||
def column_for_attribute(name)
|
def column_for_attribute(name)
|
||||||
|
# FIXME: should this return a null object for columns that don't exist?
|
||||||
self.class.columns_hash[name.to_s]
|
self.class.columns_hash[name.to_s]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue