This website requires JavaScript.
Explore
Help
Register
Sign In
github
/
rails
Watch
1
Star
1
Fork
0
You've already forked rails
mirror of
https://github.com/github/rails.git
synced
2026-04-26 03:00:59 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
8cefafbd383fd973a4f688602c67d7d5ca8ec293
rails
/
activerecord
/
test
History
Jon Leighton
26c410e56f
Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
...
Conflicts: activerecord/test/fixtures/pirates.yml
2011-08-04 00:48:54 +01:00
..
active_record
/connection_adapters
…
assets
…
cases
fixing deprecation notice for dynamic finders that use hashes.
fixes
#2404
2011-08-03 15:31:48 -07:00
fixtures
Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
2011-08-04 00:48:54 +01:00
migrations
…
models
Revert "Merge pull request
#2194
from cldwalker/after_initialize"
2011-07-23 20:49:42 -03:00
schema
Revert "Merge pull request
#2194
from cldwalker/after_initialize"
2011-07-23 20:49:42 -03:00
support
Add require 'pathname' as it has not already been required in some circumstances
2011-06-17 14:55:52 +01:00
.gitignore
…
config.example.yml
…
config.rb
…