aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-08-02 12:25:26 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2010-08-02 12:25:26 -0400
commit1ce40ca56216ae76e93cde78ec2752de110400c0 (patch)
treebe1a67a987b299d00ef01af7622e0cb917ea60a1 /activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
parentb8d9d9ce0a72218fa0891485063d3fcb3e77cae8 (diff)
downloadrails-1ce40ca56216ae76e93cde78ec2752de110400c0.tar.gz
rails-1ce40ca56216ae76e93cde78ec2752de110400c0.tar.bz2
rails-1ce40ca56216ae76e93cde78ec2752de110400c0.zip
ensuring that description does not exceed 100 columns
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb b/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
index 783d61383b..8f0aacba42 100644
--- a/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
+++ b/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
@@ -14,7 +14,8 @@ module ActiveRecord
module ClassMethods
protected
# Defined for all +datetime+ and +timestamp+ attributes when +time_zone_aware_attributes+ are enabled.
- # This enhanced read method automatically converts the UTC time stored in the database to the time zone stored in Time.zone.
+ # This enhanced read method automatically converts the UTC time stored in the database to the time
+ # zone stored in Time.zone.
def define_method_attribute(attr_name)
if create_time_zone_conversion_attribute?(attr_name, columns_hash[attr_name])
method_body, line = <<-EOV, __LINE__ + 1