diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-01 19:18:47 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-01 19:18:47 +0530 |
commit | 0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0 (patch) | |
tree | e8d547f0f7125337291e891c7c418020c117279f | |
parent | 4ceac1a7cccc97a01ecf76dddf9aa7f880556b43 (diff) | |
download | rails-0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0.tar.gz rails-0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0.tar.bz2 rails-0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0.zip |
more edits [ci skip]
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 | ||||
-rw-r--r-- | 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: # <tt>attributes=</tt> 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 |