You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timestamp fields may not compare equal after round-trip to DynamoDB. The root cause is that Time.at(some_time_obj.to_f) is not always equal to some_time_obj, in at least MRI and JRuby.
For now, the best workaround is to compare timestamps with the aid of an epsilon.
Another solution is for Dynamoid to use Time#_dump and Time::_load to persist timestamps, but we must take care to not break backward compatibility with existing records in DynamoDB.
The text was updated successfully, but these errors were encountered:
# This is the 1st commit message:
Skip specs for callback aborting on Rails 4.2
# The commit message #2 will be skipped:
# @fixup Skip specs for callback aborting on Rails 4.2
Timestamp fields may not compare equal after round-trip to DynamoDB. The root cause is that
Time.at(some_time_obj.to_f)
is not always equal tosome_time_obj
, in at least MRI and JRuby.For now, the best workaround is to compare timestamps with the aid of an epsilon.
Another solution is for Dynamoid to use
Time#_dump
andTime::_load
to persist timestamps, but we must take care to not break backward compatibility with existing records in DynamoDB.The text was updated successfully, but these errors were encountered: