Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove useless ternary in PostgreSQL adapter | Aaron Patterson | 2010-07-14 | 1 | -1/+1 | |
| | ||||||
* | PostgreSQLAdapter#query string interpolation calls to_s for us | Aaron Patterson | 2010-07-14 | 1 | -1/+1 | |
| | ||||||
* | PostgreSQLAdapter#query bail early if there is no column and dry up our ↵ | Aaron Patterson | 2010-07-14 | 1 | -4/+6 | |
| | | | | conditionals | |||||
* | Let's initialize instance variables in the postgres adapter. | Aaron Patterson | 2010-07-14 | 1 | -0/+3 | |
| | ||||||
* | reducing range comparisons when converting types to sql | Aaron Patterson | 2010-07-13 | 1 | -3/+4 | |
| | ||||||
* | only loop through all rows and columns once in the postgres adapter | Aaron Patterson | 2010-07-13 | 1 | -23/+23 | |
| | ||||||
* | use constants instead of magic numbers. meow | Aaron Patterson | 2010-07-13 | 1 | -1/+3 | |
| | ||||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-13 | 1 | -1/+1 | |
|\ | ||||||
| * | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | our method is modifying the original array, so refactor to use destructive ↵ | Aaron Patterson | 2010-07-12 | 1 | -5/+4 | |
| | | | | | | | | methods | |||||
* | | PostgreSQLAdapter#select_raw removing dead code | Aaron Patterson | 2010-07-12 | 1 | -3/+0 | |
| | | ||||||
* | | PostgreSQLAdapter#select_raw use each_with_index to avoid multiple array lookups | Aaron Patterson | 2010-07-12 | 1 | -5/+5 | |
| | | ||||||
* | | PostgreSQLAdapter#select_raw fields and results are empty even if ntuples is 0 | Aaron Patterson | 2010-07-12 | 1 | -25/+21 | |
| | | ||||||
* | | refactor PostgreSQLAdapter#result_as_array to create fewer Range objects | Aaron Patterson | 2010-07-12 | 1 | -3/+3 | |
| | | ||||||
* | | cleaning up PostgreSQLAdapter#select | Aaron Patterson | 2010-07-12 | 1 | -8/+2 | |
| | | ||||||
* | | these strings do not need to be frozen | Aaron Patterson | 2010-07-12 | 1 | -2/+2 | |
| | | ||||||
* | | use Hash#each to avoid a second hash lookup | Aaron Patterson | 2010-07-12 | 1 | -4/+2 | |
| | | ||||||
* | | Remove old rubygems require. | José Valim | 2010-07-12 | 1 | -7/+1 | |
| | | ||||||
* | | reducing funcalls, cleaning up primary key methods for sqlite adapter | Aaron Patterson | 2010-07-10 | 1 | -6/+11 | |
|/ | ||||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-09 | 1 | -2/+7 | |
|\ | ||||||
| * | copy-edits some docs | Xavier Noria | 2010-07-08 | 1 | -6/+5 | |
| | | ||||||
| * | clarifying how to create non standard primary key | Neeraj Singh | 2010-07-08 | 1 | -1/+7 | |
| | | ||||||
* | | moving parse_sqlite_config to the sqlite3_connection method (where it ↵ | Aaron Patterson | 2010-07-08 | 2 | -20/+11 | |
| | | | | | | | | | | | | belongs) [#5071 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | removing useless code. [#5070 state:resolved] | Aaron Patterson | 2010-07-08 | 1 | -2/+1 | |
|/ | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fixed error when removing an index from a table name values, which is a ↵ | J. Pablo Fernández | 2010-06-29 | 1 | -1/+1 | |
| | | | | | | reserved word, with test. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | removing useless code. [#4988 state:resolved] | Aaron Patterson | 2010-06-26 | 1 | -15/+4 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Refactor of column_exists? method and this works with PostgreSQL | Santiago Pastorino | 2010-06-26 | 1 | -12/+6 | |
| | ||||||
* | adding adapter tests, avoiding private apis, fixing code in 1.9 [#4986 ↵ | Aaron Patterson | 2010-06-26 | 1 | -3/+7 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | refactoring the postgres adapter index method to avoid inject and use ↵ | Aaron Patterson | 2010-06-26 | 1 | -4/+4 | |
| | | | | | | values_at. [#4976 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Merge branch 'tago' | José Valim | 2010-06-26 | 2 | -4/+63 | |
|\ | ||||||
| * | Add column and index query methods to ActiveRecord::Schema | Andrew White | 2010-06-26 | 2 | -4/+63 | |
| | | | | | | | | | | | | [#4219 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | index dump should not include full text indexes. Thanks Ken Mayer for the ↵ | Aaron Patterson | 2010-06-26 | 1 | -8/+3 | |
|/ | | | | | | original patch! [#4949 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Merge remote branch 'miloops/fixes' | José Valim | 2010-06-24 | 3 | -3/+3 | |
|\ | ||||||
| * | Remove block definition from method, is not needed since yield is used inside. | Emilio Tagua | 2010-06-24 | 3 | -3/+3 | |
| | | ||||||
* | | Your original TIME ZONE value on PostgreSQL is correctly restored now, after ↵ | Santiago Pastorino | 2010-06-24 | 1 | -3/+5 | |
|/ | | | | | | | | going through options :utc and then going back to :local [#4950 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | remove_column should raise an ArgumentError when no columns are passed ↵ | Jeff Dean | 2010-06-23 | 2 | -0/+2 | |
| | | | | | | [#4803 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Fix connection reloading in development mode. [#4929 state:resolved] | Edgars Beigarts | 2010-06-22 | 2 | -3/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix bug with rolling back frozen attributes. | Brian Durand | 2010-06-18 | 1 | -2/+2 | |
| | | | | | | [#2991] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | setting the timezone in postgres to whatever ruby thinks the timezone is ↵ | Aaron Patterson | 2010-06-17 | 1 | -1/+6 | |
| | | | | | | [#4895 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 4 | -12/+12 | |
| | | | | not "ActiveRecord" | |||||
* | Revert "Temporarily revert "Update after_commit and after_rollback docs and ↵ | Jeremy Kemper | 2010-06-08 | 1 | -0/+56 | |
| | | | | | | | | tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction."" This reverts commit 1b2941cba1165b0721f57524645fe378bee2a950. [#2991] | |||||
* | Temporarily revert "Update after_commit and after_rollback docs and tests to ↵ | Jeremy Kemper | 2010-06-08 | 1 | -56/+0 | |
| | | | | | | | | | | | | | | use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction." This reverts commits d2a49e4b1f30c5997e169110eed94a55aee53f56 and da840d13da865331297d5287391231b1ed39721b. [#2991] Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/transactions.rb activerecord/test/cases/transaction_callbacks_test.rb | |||||
* | forcing encoding on 1.9 when dealing with "binary" columns [#4612 ↵ | Aaron Patterson | 2010-06-08 | 1 | -0/+4 | |
| | | | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com> | |||||
* | MySQL: require 2.7 or later so we can rely on result.each_hash | Jeremy Kemper | 2010-06-05 | 1 | -49/+8 | |
| | ||||||
* | Whoops. _run_*_callbacks is private | wycats | 2010-06-04 | 1 | -1/+1 | |
| | ||||||
* | Use faster form of running callbacks | wycats | 2010-06-04 | 1 | -1/+1 | |
| | ||||||
* | Revert "Don't carry default value when changing column for a binary type on ↵ | Jeremy Kemper | 2010-05-18 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | MySQL" Broke mysql tests. This reverts commit edec1afe25014749f0e2df86d27477b45586a9e3. Conflicts: activerecord/test/cases/migration_test.rb [#3234 state:open] | |||||
* | make add_index and remove_index more resilient; new rename_index method; ↵ | Étienne Barrié | 2010-05-18 | 5 | -11/+106 | |
| | | | | | | | | track database limits [#3452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Don't carry default value when changing column for a binary type on MySQL ↵ | Elomar França | 2010-05-16 | 1 | -1/+5 | |
| | | | | | | [#3234 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> |