Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make PostgreSQL adapter view-compatible | Paul Gallagher | 2011-06-19 | 2 | -1/+49 |
| | | | * amongst other things, allows meta_search to run against view-backed models | ||||
* | make extract_schema_and_table a private method | Paul Gallagher | 2011-06-11 | 1 | -7/+7 |
| | |||||
* | remove table quoting in primary_key method | Paul Gallagher | 2011-06-11 | 2 | -5/+47 |
| | | | * add/cleanup tests | ||||
* | apply private method indentation convention | Paul Gallagher | 2011-06-10 | 2 | -3/+3 |
| | | | * tidy test code and fix my typo | ||||
* | Improve PostgreSQL adapter schema-awareness | Paul Gallagher | 2011-06-10 | 2 | -2/+122 |
| | | | | | | | * table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour * extract_schema_and_table tests and implementation extended to cover all cases * primary_key does not ignore schema information * add current_schema and schema_exists? methods * more robust table referencing in insert_sql and sql_for_insert methods | ||||
* | Remove unused 'y' variable. | Sebastian Martinez | 2011-06-08 | 1 | -2/+2 |
| | |||||
* | Fix a couple of helper requires that were missed. This was causing the tests ↵ | Jon Leighton | 2011-06-07 | 1 | -1/+1 |
| | | | | to fail to run on 1.8.7. | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 25 | -25/+25 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 26 | -27/+26 |
| | | | | 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. | ||||
* | Merge pull request #1385 from smartinez87/drop | Aaron Patterson | 2011-06-01 | 1 | -1/+1 |
|\ | | | | | #drop_table accepts no options now. | ||||
| * | #drop_table accepts no options now. | Sebastian Martinez | 2011-05-28 | 1 | -1/+1 |
| | | |||||
* | | Add missing require to fix the CI | Jon Leighton | 2011-06-01 | 1 | -0/+1 |
| | | |||||
* | | Isolated PostgreSQL test into PostgreSQL folder | Prem Sichanugrist | 2011-05-31 | 1 | -0/+29 |
|/ | |||||
* | 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 | 2 | -2/+2 |
| | | | [Fixes #439] | ||||
* | added the mysql schema test to mysql2 adapter, and fixed the corresponding ↵ | Josh Kalderimis | 2011-05-03 | 2 | -1/+37 |
| | | | | failures | ||||
* | Added tsvector Datatype Support | Benjamin Fritsch | 2011-04-26 | 1 | -0/+25 |
| | | | Applied Patch from https://rails.lighthouseapp.com/projects/8994/tickets/5577-suport-from-tsvector-data-type-in-postgresql | ||||
* | mysql type cast should return integers when typecasting true / false | Aaron Patterson | 2011-04-14 | 2 | -0/+51 |
| | |||||
* | inserting big decimals as strings works consistently among dbs, so use ↵ | Aaron Patterson | 2011-04-14 | 1 | -1/+1 |
| | | | | string form | ||||
* | adding a type cast method for prepared statements | Aaron Patterson | 2011-04-14 | 1 | -0/+93 |
| | |||||
* | use index based substitution for bind parameters | Aaron Patterson | 2011-04-13 | 3 | -5/+5 |
| | |||||
* | wrap the pg_get_serial_sequence function and reuse it for the default ↵ | Aaron Patterson | 2011-04-11 | 1 | -0/+25 |
| | | | | sequence name | ||||
* | adding exec_insert for postgresql | Aaron Patterson | 2011-04-11 | 2 | -1/+39 |
| | |||||
* | fixing variable name in mysql test | Aaron Patterson | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | adding mysql adapter test case | Aaron Patterson | 2011-04-11 | 1 | -0/+69 |
| | |||||
* | adding exec_insert to sqlite3 | Aaron Patterson | 2011-04-11 | 1 | -0/+12 |
| | |||||
* | moving sqlite_adapter_tests to sqlite3_adapter_test so that the tests are ↵ | Aaron Patterson | 2011-04-08 | 2 | -229/+215 |
| | | | | actually run. :bomb: | ||||
* | escaping binary data encoding when inserting to sqlite3. Thanks Naruse! ↵ | Aaron Patterson | 2011-03-21 | 1 | -0/+19 |
| | | | | [#6559 state:resolved] | ||||
* | schemas set by set_table_name are respected by the mysql adapter. [#5322 ↵ | Aaron Patterson | 2011-03-21 | 1 | -0/+36 |
| | | | | state:resolved] | ||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 3 | -39/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb | ||||
| * | bad tests are bad | Aaron Patterson | 2011-02-14 | 1 | -18/+0 |
| | | |||||
| * | removing irrelevant test | Aaron Patterson | 2011-02-14 | 1 | -18/+0 |
| | | |||||
| * | fixing unused variable warnings | Aaron Patterson | 2011-01-17 | 1 | -3/+3 |
| | | |||||
| * | define_attr_method must serialize nil correctly | Aaron Patterson | 2010-12-20 | 1 | -0/+5 |
| | | |||||
* | | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 1 | -1/+1 |
|/ | | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection | ||||
* | renaming exec in the mysql adapter | Aaron Patterson | 2010-11-05 | 1 | -13/+13 |
| | |||||
* | renaming exec in the PG adapter | Aaron Patterson | 2010-11-05 | 2 | -11/+11 |
| | |||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 1 | -12/+12 |
| | |||||
* | setting the authorized session clears the statement cache | Aaron Patterson | 2010-10-26 | 1 | -0/+11 |
| | |||||
* | add a session authorization setter to the pg connection | Aaron Patterson | 2010-10-26 | 1 | -1/+8 |
| | |||||
* | avoiding statement cache if there are no bind values | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | bind substitution is working properly | Aaron Patterson | 2010-10-26 | 1 | -0/+8 |
| | |||||
* | bind parameters are now typecast | Aaron Patterson | 2010-10-26 | 1 | -0/+14 |
| | |||||
* | basic bind parameters are working | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | initial exec() method is working in pg adapter | Aaron Patterson | 2010-10-26 | 1 | -0/+17 |
| | |||||
* | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 1 | -0/+58 |
| | |||||
* | refactoring tests | Aaron Patterson | 2010-10-26 | 1 | -36/+20 |
| | |||||
* | type casting bound value based on column associated with value | Aaron Patterson | 2010-10-26 | 1 | -0/+18 |
| | |||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 1 | -0/+35 |
| | |||||
* | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+9 |
| |