From 0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Tue, 1 May 2012 19:18:47 +0530 Subject: more edits [ci skip] --- activerecord/lib/active_record/base.rb | 2 +- activesupport/lib/active_support/values/time_zone.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 4a0c9c583c..189985b671 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -314,7 +314,7 @@ module ActiveRecord #:nodoc: # attributes= method. The +errors+ property of this exception contains an array of # AttributeAssignmentError # objects that should be inspected to determine which attributes triggered the errors. - # * RecordInvalid - raised by save! and create! when the record is invalid + # * RecordInvalid - raised by save! and create! when the record is invalid. # * RecordNotFound - No record responded to the +find+ method. Either the row with the given ID doesn't exist # or the row didn't meet the additional restrictions. Some +find+ calls do not raise this exception to signal # nothing was found, please check its documentation for further details. diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb index 65213fb752..9543e50395 100644 --- a/activesupport/lib/active_support/values/time_zone.rb +++ b/activesupport/lib/active_support/values/time_zone.rb @@ -204,7 +204,7 @@ module ActiveSupport @current_period = nil end - # Returns the offset of this time zone in seconds. + # Returns the offset of this time zone from UTC in seconds. def utc_offset if @utc_offset @utc_offset -- cgit v1.2.3