aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-02-18 23:57:37 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-02-18 23:59:48 +0900
commit57b0ae8011ab0502253631bd6fdbc0fc838b593e (patch)
treee7249f5fb7015446d089e7de6d4e83d6c87bf4d5 /activerecord/lib/active_record/attribute_methods
parentb04c81d367323849a0019f6964639efaad0e9df0 (diff)
downloadrails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.gz
rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.tar.bz2
rails-57b0ae8011ab0502253631bd6fdbc0fc838b593e.zip
Gist URLs are now namespaced
see: https://github.com/blog/1406-namespaced-gists
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
-rw-r--r--activerecord/lib/active_record/attribute_methods/read.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index 3c03cce838..506f5d75f9 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -74,7 +74,7 @@ module ActiveRecord
# to a date object, like Date.new(2004, 12, 12)).
def read_attribute(attr_name)
# If it's cached, just return it
- # We use #[] first as a perf optimization for non-nil values. See https://gist.github.com/3552829.
+ # We use #[] first as a perf optimization for non-nil values. See https://gist.github.com/jonleighton/3552829.
name = attr_name.to_s
@attributes_cache[name] || @attributes_cache.fetch(name) {
column = @columns_hash.fetch(name) {