Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change the string to use in test case. | kennyj | 2012-03-07 | 1 | -1/+1 |
| | |||||
* | Fix message assertions for quoting database name in "show tables" for mysql | Carlos Antonio da Silva | 2012-03-04 | 1 | -1/+1 |
| | |||||
* | Fix GH #3163. Should quote database on mysql/mysql2. | kennyj | 2012-03-05 | 1 | -0/+11 |
| | |||||
* | Fix CI | Jon Leighton | 2011-12-28 | 1 | -3/+3 |
| | |||||
* | Deprecate set_table_name in favour of self.table_name= or defining your own ↵ | Jon Leighton | 2011-11-29 | 1 | -1/+1 |
| | | | | method. | ||||
* | add the query to AR::Relation#explain output | Xavier Noria | 2011-11-25 | 1 | -0/+3 |
| | | | | | | | Rationale: this is more readable if serveral queries are involved in one call. Also, it will be possible to let AR log EXPLAINs automatically in production mode, where queries are not even around. | ||||
* | Verify that #3690 has been closed by previous changes to the mysql | Jon Leighton | 2011-11-19 | 1 | -1/+5 |
| | | | | | | | | adapters. These tests fail on the v3.1.2 tag. Closes #3690. | ||||
* | implements AR::Relation#explain | Xavier Noria | 2011-11-05 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it. | ||||
* | ambiguous first argument; put parentheses or even spaces Warning removed! | Arun Agrawal | 2011-10-10 | 1 | -2/+2 |
| | |||||
* | Remove stray whitespace | Jeremy Kemper | 2011-10-09 | 1 | -4/+1 |
| | |||||
* | Only use LOWER for mysql case insensitive uniqueness check when column has a ↵ | Joseph Palermo | 2011-10-09 | 1 | -0/+38 |
| | | | | case sensitive collation. | ||||
* | Remove unused 'y' variable. | Sebastian Martinez | 2011-06-08 | 1 | -2/+2 |
| | |||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 5 | -5/+5 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 5 | -5/+5 |
| | | | | 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. | ||||
* | use a null byte as a bind parameter substitute as it is not allowed in ↵ | Aaron Patterson | 2011-05-09 | 1 | -0/+50 |
| | | | | normal SQL. fixes #411, #417 | ||||
* | Namespace Fixtures in ActiveRecord | Jason Noble | 2011-05-07 | 1 | -1/+1 |
| | | | [Fixes #439] | ||||
* | added the mysql schema test to mysql2 adapter, and fixed the corresponding ↵ | Josh Kalderimis | 2011-05-03 | 1 | -0/+36 |
| | | | | failures | ||||
* | bad tests are bad | Aaron Patterson | 2011-02-14 | 1 | -18/+0 |
| | |||||
* | avoids warnings about mismatched indentations in Ruby 1.9.2 | Xavier Noria | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | update tests for mysql2 support | Brian Lopez | 2010-08-02 | 3 | -0/+343 |