Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent multiple SHOW TABLES calls when a table don't exists in database. | Noé Froidevaux | 2011-11-11 | 1 | -3/+3 |
| | |||||
* | Modify change_table to remove the need for the block argument. | Vijay Dev | 2011-11-11 | 1 | -7/+12 |
| | |||||
* | Checking the arity of the block passed to create_table | Vijay Dev | 2011-11-10 | 1 | -1/+7 |
| | | | | | | A recent change made to create_table does away with the need for the block argument. Checking the arity will prevent the mixing up of the two syntaxes. | ||||
* | self.up, self.down => up, down | Akira Matsuda | 2011-11-07 | 1 | -3/+2 |
| | |||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 2 | -2/+30 |
| | |||||
* | Merge pull request #1163 from amatsuda/sexier_migration_31 | Aaron Patterson | 2011-11-04 | 1 | -2/+2 |
|\ | | | | | Sexier migrations | ||||
| * | No "t." for the migration DSL! | Akira Matsuda | 2011-05-20 | 1 | -2/+2 |
| | | | | | | | | | | Now you can omit |t| block parameter and all the t. from your migration code, that means, the syntax looks more Rails-3-ish, like the routes DSL and ActionMailer DSL. Also, this change won't break any of your existing migration files, since the traditional syntax is still available. | ||||
* | | dump_schema_information: explicitly order inserts into schema_migrations table | Laust Rud Jacobsen | 2011-10-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | This change reduces churn in the db/development_structure.sql file when using :sql as active_record.schema_format, and makes comparing diffs much easier. Test ensures the output SQL-statements are lexically ordered by version. | ||||
* | | Default timestamps to non-null | Mike Perham | 2011-10-14 | 2 | -3/+3 |
| | | |||||
* | | use thread locals and an instance variable within QueryCache#BodyProxy to ↵ | Mark J. Titorenko | 2011-10-07 | 2 | -1/+9 |
| | | | | | | | | maintain appropriate linkage with AR database connection across threads | ||||
* | | Merge pull request #2897 from rsutphin/ar31-remove_connection | Aaron Patterson | 2011-09-06 | 2 | -2/+2 |
| | | | | | | | | Patch for issue #2820 | ||||
* | | Make the logic easier to read | Jon Leighton | 2011-09-06 | 1 | -4/+7 |
| | | |||||
* | | Use new SelectManager#projections= method | Jon Leighton | 2011-08-15 | 1 | -2/+2 |
| | | |||||
* | | use update.key instead of update.ast.key. make better use of select manager. | Jon Leighton | 2011-08-15 | 1 | -2/+2 |
| | | |||||
* | | Refactor building the update manager | Jon Leighton | 2011-08-15 | 1 | -5/+3 |
| | | |||||
* | | Support for multi-table updates with limits, offsets and orders | Jon Leighton | 2011-08-15 | 1 | -0/+3 |
| | | |||||
* | | Support updates with joins. Fixes #522. | Jon Leighton | 2011-08-15 | 1 | -0/+9 |
| | | |||||
* | | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 3 | -20/+41 |
| | | | | | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | ||||
* | | Simplify the way default DATABASE_URL works. | Glenn Gillen | 2011-07-25 | 1 | -1/+1 |
| | | |||||
* | | Fixes typo | Vijay Dev | 2011-07-22 | 1 | -1/+1 |
| | | |||||
* | | adding more tests around database uri parsing | Aaron Patterson | 2011-07-21 | 1 | -5/+3 |
| | | |||||
* | | Add documentation for URL connection strings. | Glenn Gillen | 2011-07-20 | 1 | -0/+6 |
| | | |||||
* | | Added test for postgres connections as URL. Fixed query param parsing. | Glenn Gillen | 2011-07-20 | 1 | -1/+1 |
| | | |||||
* | | Provide database connection settings as a URL. | Glenn Gillen | 2011-07-20 | 1 | -0/+22 |
| | | |||||
* | | cache column defaults for AR object instantiation | Aaron Patterson | 2011-06-27 | 1 | -0/+9 |
| | | |||||
* | | Merge pull request #1763 from grantneufeld/schema_column_exists_options_hash | José Valim | 2011-06-18 | 1 | -1/+1 |
|\ \ | | | | | | | Fix default options argument on ActiveRecord::ConnectionAdaptors::Table#column_exists? | ||||
| * | | Changed the default value for the options argument on ↵ | Grant Neufeld | 2011-06-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | ActiveRecord::ConnectionAdapters::Table#column_exists? from nil to an empty Hash {}. That method calls through to ActiveRecord::ConnectionAdapters::SchemaStatements##column_exists? expects options to be a Hash. When options was nil, an error would occur in cases where the column did exist because the called method attempted to perform a key lookup on options. | ||||
* | | | Fix inconsistencies by being polite to the wrapped body. Needed for ↵ | Steve Hodgkiss | 2011-06-18 | 1 | -0/+8 |
|/ / | | | | | | | Rack::Sendfile to function properly. See issue #1761. | ||||
* | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 2 | -9/+9 |
|\ \ | |||||
| * | | Update remove_index documentation | Lucia Escanellas | 2011-06-17 | 2 | -9/+9 |
| | | | | | | | | | | | | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624 | ||||
* | | | Allow the connection pool's #table_exists? method to give the connections ↵ | Ken Collins | 2011-06-10 | 1 | -0/+1 |
|/ / | | | | | | | #table_exists? method a chance. | ||||
* | | No need to pass options which is never used | Akira Matsuda | 2011-05-29 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'master' of github.com:rails/rails | Xavier Noria | 2011-05-25 | 1 | -29/+2 |
|\ \ | |||||
| * | | removed deprecated methods, and related tests, from ActiveRecord | Josh Kalderimis | 2011-05-25 | 1 | -29/+2 |
| | | | |||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-25 | 3 | -6/+6 |
|\ \ \ | |/ / |/| | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb | ||||
| * | | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 3 | -6/+6 |
| |/ | |||||
* / | Remove extra white-space on some exception messages. | Sebastian Martinez | 2011-05-23 | 2 | -2/+2 |
|/ | |||||
* | use a null byte as a bind parameter substitute as it is not allowed in ↵ | Aaron Patterson | 2011-05-09 | 1 | -9/+1 |
| | | | | normal SQL. fixes #411, #417 | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-04 | 1 | -6/+6 |
|\ | |||||
| * | Fixes on schema_definitions docs | Sebastian Martinez | 2011-05-03 | 1 | -3/+3 |
| | | |||||
| * | fixed-fonts on SchemaDefinitions | Sebastian Martinez | 2011-05-02 | 1 | -3/+3 |
| | | |||||
* | | introduce a body proxy to ensure that query cache is enabled during streaming | Aaron Patterson | 2011-05-02 | 1 | -0/+8 |
|/ | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-01 | 3 | -15/+20 |
|\ | | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile | ||||
| * | Merge branch 'master' of github.com:lifo/docrails | Dan Pickett | 2011-04-29 | 3 | -15/+20 |
| |\ | |||||
| | * | Fixed punctuation errors. | Sebastian Martinez | 2011-04-22 | 1 | -4/+4 |
| | | | |||||
| | * | Better docs formatting | Sebastian Martinez | 2011-04-22 | 1 | -10/+11 |
| | | | |||||
| | * | dot missing here | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | |||||
| | * | Added doc for #table_exists? | Sebastian Martinez | 2011-04-22 | 1 | -0/+4 |
| | | | |||||
* | | | using bind parameters for updates | Aaron Patterson | 2011-04-30 | 1 | -4/+11 |
|/ / | |||||
* | | postgresql supports prepare statement deletes | Aaron Patterson | 2011-04-29 | 1 | -2/+9 |
| | |