1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

more edits [ci skip]

This commit is contained in:
Vijay Dev 2012-05-01 19:18:47 +05:30
parent 4ceac1a7cc
commit 0c9e7b69d8
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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