Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use class_inheritable_accessor for connection_handler | Pratik Naik | 2010-05-04 | 1 | -3/+3 |
| | |||||
* | Change event namespace ordering to most-significant first [#4504 state:resolved] | Justin George | 2010-05-02 | 2 | -2/+2 |
| | | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | AR: fixed postgres transaction tests [#4519 state:commited] | Cezary Baginski | 2010-05-01 | 1 | -6/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add after_commit and after_rollback callbacks to ActiveRecord that are ↵ | Brian Durand | 2010-04-29 | 1 | -0/+56 |
| | | | | | | | | called after transactions either commit or rollback on all records saved or destroyed in the transaction. [#2991 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove quoted_string_prefix entirely since PostgreSQL was the only database ↵ | Jeremy Kemper | 2010-04-24 | 1 | -7/+3 |
| | | | | adapter relying on it. | ||||
* | 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> | ||||
* | Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...) | Jeremy Kemper | 2010-04-10 | 1 | -2/+4 |
| | |||||
* | clearing up many warnings, removing unnecessary regular expresion ↵ | Aaron Patterson | 2010-04-10 | 3 | -25/+24 |
| | | | | | | comparisons [#4365 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 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 | ||||
* | remove_index now uses quote_table_name() [#4300 state:resolved] | Simon Effenberg | 2010-04-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix mapping of bigint/smallint/uuid columns in postgresql adapter. | Ernie Miller | 2010-03-31 | 2 | -1/+8 |
| | | | | 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 | 3 | -0/+3 |
| | |||||
* | adds missing requires for Object#duplicable? | Xavier Noria | 2010-03-28 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app. | José Valim | 2010-03-27 | 2 | -20/+14 |
| | | | | | | To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open] This reverts commit faeca694b3d4afebf6b623b493e86731e773c462. | ||||
* | primary_key now supports :limit for MySQL | Rizwan Reza | 2010-03-27 | 2 | -14/+20 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Revert "primary_key now supports :limit. [#876 state:resolved]" since it ↵ | José Valim | 2010-03-27 | 2 | -20/+14 |
| | | | | | | broke AR test suite. This reverts commit 41e5c7ed44fedb95636ef9b7a792c46ea03309bd. | ||||
* | primary_key now supports :limit. [#876 state:resolved] | Rizwan Reza | 2010-03-27 | 2 | -14/+20 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | 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> | ||||
* | Better MySQL Error message. [#3775 state:resolved] | Rizwan Reza | 2010-03-26 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add add_limit_offset! to adapters. | Emilio Tagua | 2010-03-25 | 2 | -0/+35 |
| | |||||
* | ActiveRecord should raise an error on invalid migration types. | José Valim | 2010-02-28 | 1 | -4/+7 |
| | |||||
* | avoid @transaction_joinable not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | avoid active not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -0/+1 |
| | |||||
* | Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵ | David Heinemeier Hansson | 2010-02-06 | 1 | -4/+8 |
| | | | | MySQL driver to improve log signal to noise ration in development [DHH] | ||||
* | Added encoding qery support for SQLite3 to make rake db:charset work on all ↵ | Mikel Lindsaar | 2010-02-03 | 1 | -0/+11 |
| | | | | databases shipping with Rails 3 | ||||
* | future proofing the sqlite3 adapter code | Aaron Patterson | 2010-01-26 | 1 | -3/+3 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | 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] | ||||
* | Revert "Fix #microseconds conversion and #fast_string_to_time" | Pratik Naik | 2010-01-17 | 1 | -7/+6 |
| | | | | This reverts commit 717a2941e15b32d07cc456bb0d81742ecfc5b4a3. Bunch of failures when running postgresql tests. | ||||
* | Fix #microseconds conversion and #fast_string_to_time | Chris Hapgood | 2010-01-16 | 1 | -6/+7 |
| | | | | | | | | * Use direct integer parsing in #fast_string_to_time to avoid convoluted conversions and errors due to truncation. * Use Float#round in #microseconds to avoid truncation errors. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | ActiveRecord should give the connection id as payload, and not the whole ↵ | José Valim | 2010-01-15 | 1 | -1/+1 |
| | | | | connection. | ||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | Create Rails::Subscriber::TestHelper and use it to make ActiveRecord ↵ | José Valim | 2010-01-13 | 1 | -0/+1 |
| | | | | subscriber tests run in both sync and async scenarios. | ||||
* | Move AR logging responsibilities to ActiveRecord::Railties::Subscriber. | José Valim | 2010-01-13 | 2 | -26/+3 |
| | |||||
* | Remove allow_concurrency and verification_timeout from ActiveRecord::Base ↵ | José Valim | 2010-01-13 | 2 | -25/+0 |
| | | | | (deprecated since 2.2). | ||||
* | Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER. | José Valim | 2010-01-13 | 1 | -2/+2 |
| | |||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 2 | -1/+3 |
| | |||||
* | Send the connection in AR notifications to avoid checking out new ↵ | José Valim | 2010-01-11 | 1 | -2/+4 |
| | | | | connections in threads just for logging purposes. | ||||
* | Allow AR::Schema's migrations_path to be overwritten by subclasses. Defaults ↵ | Jeffrey Hardy | 2010-01-08 | 1 | -2/+2 |
| | | | | | | | | to 'db/migrate' [#3671 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 1 | -1/+1 |
| | |||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Kick AR logging back to life and move ControllerRuntime inside ↵ | José Valim | 2009-12-30 | 1 | -3/+7 |
| | | | | ActiveRecord::Rails. | ||||
* | Remove locking related unused code | Pratik Naik | 2009-12-28 | 2 | -18/+0 |
| | |||||
* | Add support for Mysql column positioning via #add_column and #change_column | Ben Marini | 2009-12-03 | 1 | -0/+15 |
| | | | | | | | | | | | | | | add_column and change_column in the Mysql adapter now accept some additional options: :first => true # Put the column in front of all the columns :after => column_name # Put the colmn after 'column_name' add_column :new_col, :string, :first => true add_column :another_col, :integer, :default => 0, :after => :new_col [#3286 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |