Permalink
Browse files

more edits [ci skip]

  • Loading branch information...
1 parent 4ceac1a commit 0c9e7b69d84bfb505022f3665f50e5eebe3fc0b0 @vijaydev vijaydev committed May 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 activerecord/lib/active_record/base.rb
  2. +1 −1 activesupport/lib/active_support/values/time_zone.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.
@@ -204,7 +204,7 @@ def initialize(name, utc_offset = nil, tzinfo = nil)
@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

0 comments on commit 0c9e7b6

Please sign in to comment.