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
1be3442a0a6df37525ff706fecfd65de7eae65cf
rails
/
activerecord
/
test
History
Ernie Miller
f74f5f7f00
Fix PredicateBuilder clobbering select_values in subquery.
2011-08-20 13:16:39 -04:00
..
active_record
/connection_adapters
introduce a fake AR adapter for mocking database return values
2011-02-04 13:34:57 -08:00
assets
move assets and models
2008-01-18 07:27:03 +00:00
cases
Fix PredicateBuilder clobbering select_values in subquery.
2011-08-20 13:16:39 -04: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:38:27 +01:00
migrations
in the middle of refactoring
2010-12-03 12:00:09 -08:00
models
Fix default scope thread safety. Thanks @thedarkone for reporting.
2011-08-13 16:54:05 +01:00
schema
use existing model for testing Base.create with #after_initialize
2011-07-24 16:36:06 -04:00
support
Add require 'pathname' as it has not already been required in some circumstances
2011-06-17 14:55:34 +01:00
.gitignore
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
2011-06-04 23:47:03 +01:00
config.example.yml
more oracle fixes
2011-06-06 15:47:29 -07:00
config.rb
Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails
2008-01-21 17:20:51 +00:00