Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -4/+8 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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> | ||||
* | 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 | 1 | -1/+1 |
|\ | |||||
| * | Remove block definition from method, is not needed since yield is used inside. | Emilio Tagua | 2010-06-24 | 1 | -1/+1 |
| | | |||||
* | | 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> | ||||
* | 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 | 1 | -3/+3 |
| | | | | not "ActiveRecord" | ||||
* | make add_index and remove_index more resilient; new rename_index method; ↵ | Étienne Barrié | 2010-05-18 | 1 | -3/+6 |
| | | | | | | | | track database limits [#3452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | AR: fixed postgres transaction tests [#4519 state:commited] | Cezary Baginski | 2010-05-01 | 1 | -6/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | PostgreSQL: always rely on pg driver for escape/unescape and quoting duties | Jeremy Kemper | 2010-04-24 | 1 | -88/+7 |
| | |||||
* | PostgreSQL: use standard-conforming strings if possible | Jeremy Kemper | 2010-04-24 | 1 | -30/+14 |
| | |||||
* | Drop support for postgres driver. Use pg >= 0.9.0. | Jeremy Kemper | 2010-04-24 | 1 | -16/+2 |
| | |||||
* | mode postgresql adapters table_exists? method take the schema in to account. ↵ | Aaron Patterson | 2010-04-11 | 1 | -1/+23 |
| | | | | | | [#4341 state:resolved] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | clearing up many warnings, removing unnecessary regular expresion ↵ | Aaron Patterson | 2010-04-10 | 1 | -23/+22 |
| | | | | | | comparisons [#4365 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "When creating database with rake, create schemas in ↵ | Michael Koziarski | 2010-04-09 | 1 | -21/+0 |
| | | | | | | | | | | | | | schema_search_path if it doesn't exist." This reverts commit 6c2a0675f11a9b5b8e88ed7dbccd65cb51be8029. Reverting because it breaks the ability to run tests using a non-superuser. Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb activerecord/lib/active_record/railties/databases.rake | ||||
* | Fix mapping of bigint/smallint/uuid columns in postgresql adapter. | Ernie Miller | 2010-03-31 | 1 | -0/+6 |
| | | | | Signed-off-by: Emilio Tagua <miloops@gmail.com> | ||||
* | PostgreSQL adapter: escape_bytea, quote_string and unescape_bytea aren't ↵ | Eugene Pimenov | 2010-03-28 | 1 | -6/+6 |
| | | | | | thread-safe in Ruby 1.8 [#3237 state:resolved] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Oops, a docfix. | Rizwan Reza | 2010-03-28 | 1 | -1/+1 |
| | |||||
* | When creating database with rake, create schemas in schema_search_path if it ↵ | Rizwan Reza | 2010-03-28 | 1 | -0/+21 |
| | | | | doesn't exist. | ||||
* | In PostgreSQLAdapter, switch tables query to use current_schemas function ↵ | Kris Selden | 2010-03-26 | 1 | -3/+1 |
| | | | | | | [#918 state:resolved] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | PostgreSQLAdapter: set time_zone to UTC when Base.default_timezone == :utc ↵ | Jack Christensen | 2010-01-25 | 1 | -1/+5 |
| | | | | so that Postgres doesn't incorrectly offset-adjust values inserted into TIMESTAMP WITH TIME ZONE columns [#3777 state:resolved] | ||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 1 | -3/+22 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | PostgreSQL: XML datatype support | Leonardo Borges | 2009-08-09 | 1 | -13/+21 |
| | | | | | | | | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | raises exception (ActiveRecord::ConfigurationError with message) on habtm ↵ | Jaime Bellmyer | 2009-08-09 | 1 | -0/+11 |
| | | | | | | | | | | | | association creation if join table contains a primary key Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-30 | 1 | -0/+11 |
|\| | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb | ||||
| * | Make sure the wrapped exceptions also have the original exception available. | Michael Koziarski | 2009-06-26 | 1 | -2/+2 |
| | | | | | | | | [#2419 state:committed] | ||||
| * | Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions. | Michael Schuerig | 2009-06-26 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| * | Translate adapter errors that indicate a violated uniqueness constraint to ↵ | Michael Schuerig | 2009-06-26 | 1 | -0/+9 |
| | | | | | | | | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Arel now buils SQL queries for associations. Removed old code and | Emilio Tagua | 2009-06-23 | 1 | -14/+0 |
| | | | | | | | | updated Arel version to support this. | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-09 | 1 | -2/+14 |
|\| | |||||
| * | PostgreSQL adapter should call thread safe quote_string function | Eugene Pimenov | 2009-06-09 | 1 | -2/+14 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Refactors to work with latest Arel implementation. | Emilio Tagua | 2009-06-02 | 1 | -0/+1 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-05-18 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb activerecord/lib/active_record/migration.rb activerecord/test/cases/helper.rb | ||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 |
| | | |||||
* | | Refactor to calculations. Migration's versions are string not integer. ARel ↵ | Emilio Tagua | 2009-05-06 | 1 | -10/+10 |
|/ | | | | submodule updated. |