aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
* punctuation fix in fixtures.rbXavier Noria2008-05-081-1/+1
|
* + vs <tt> in fixtures.rb docsXavier Noria2008-05-071-1/+1
|
* + vs <tt> fixes in abstract adapter docsXavier Noria2008-05-071-2/+2
|
* several fixes and conventions revision in AR associations docsXavier Noria2008-05-071-110/+111
|
* Merge commit 'mainstream/master'Pratik Naik2008-05-072-14/+7
|\
| * create_table :force => true no longer tries to drop a non-existing tableTarmo Tänav2008-05-071-2/+2
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Added AbstractAdapter#table_exists? and made AbstractAdapter#table ↵Tarmo Tänav2008-05-072-12/+5
| | | | | | | | | | | | implementation non-optional Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | applies patch in ↵Xavier Noria2008-05-071-0/+6
| | | | | | | | http://rails.lighthouseapp.com/projects/8994/tickets/132-document-clear_query_cache
* | fixed markupXavier Noria2008-05-071-2/+2
| |
* | fixed markupXavier Noria2008-05-071-1/+1
| |
* | Applied list conventions in AR::BaseSunny Ripert2008-05-071-21/+20
| |
* | Renamed Options list to Attributes list whenever they weren't option hashes ↵Sunny Ripert2008-05-071-12/+12
| | | | | | | | in AR::Base
* | revised details in Exceptions section of AR::Base docsXavier Noria2008-05-071-15/+15
| |
* | Fixing typo in association class nameJack Danger Canty2008-05-061-1/+1
| |
* | doc: disambiguating an example ActiveRecord classJack Danger Canty2008-05-061-1/+2
| |
* | doc: ActiveRecord::Reflection::AssociationReflection#through_reflectionJack Danger Canty2008-05-061-0/+11
| | | | | | | | | | | | Added documentation demonstrating the use of #through_reflection for finding intervening reflection objects for HasManyThrough and HasOneThrough.
* | Document AttributeAssignmentError and MultiparameterAssignmentErrors.Cheah Chu Yeow2008-05-071-5/+10
| |
* | Merge commit 'mainstream/master'Pratik Naik2008-05-062-2/+30
|\|
| * Added logic to associations.rb to make sure select_for_limited_idsJohn Devine2008-05-061-1/+24
| | | | | | | | | | | | | | | | | | includes joins that are needed to reach tables listed in the :order or :conditions options if they are not joined directly to the main active_record table. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#109 state:resolved]
| * Ensure correct record is returned when preloading has_one where more than ↵Frederick Cheung2008-05-061-1/+6
| | | | | | | | | | | | | | one row exists Signed-off-by: Michael Koziarski <michael@koziarski.com> [#73 state:closed]
* | Merge commit 'mainstream/master'Pratik Naik2008-05-061-0/+6
|\|
| * Restore dump_schema_information connection adapter methodKyle Hargraves2008-05-051-0/+6
| |
* | revised conventions in AR's validations.rbXavier Noria2008-05-051-2/+2
| |
* | revised conventions in associations.rbXavier Noria2008-05-051-28/+28
| |
* | validates_numericality_of() "integer" option really is "only_integer"Sunny Ripert2008-05-051-2/+2
| |
* | Harmonized hash notation in AR::BaseSunny Ripert2008-05-051-5/+5
| |
* | Turned options into rdoc-lists in AR::BaseSunny Ripert2008-05-051-22/+22
| |
* | revised convention for lists of option in sqlite_adapter.rbXavier Noria2008-05-041-1/+1
| |
* | mysql adapter port is an integerXavier Noria2008-05-041-1/+1
| |
* | revised some conventions in postgresql_adapter.rbXavier Noria2008-05-041-9/+9
| |
* | revised some conventions in mysql_adapter.rbXavier Noria2008-05-041-12/+12
|/
* Added change_table for migrations (Jeff Dean) [#71 state:resolved]David Heinemeier Hansson2008-05-033-7/+265
|
* Improve documentation coverage and markupXavier Noria2008-05-0215-197/+203
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-05-014-18/+35
|\
| * Fixed AssociationsPreload such that it doesnt require foreign keys to be ↵David Heinemeier Hansson2008-04-301-11/+15
| | | | | | | | integers (fcheung) [#33 state:resolved]
| * Added block-setting of attributes for Base.create like Base.new already has ↵David Heinemeier Hansson2008-04-302-4/+17
| | | | | | | | (Adam Meehan) [#39 state:resolved]
| * Fixed fixture caching with prefixed or suffixed tables.Rhett Sutphin2008-04-301-3/+3
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | best solution?Steven Soroka2008-05-011-2/+2
|/ | | | Signed-off-by: Steven Soroka <ssoroka78@gmail.com>
* Fixed that pessimistic locking you reference the quoted table name (Josh ↵David Heinemeier Hansson2008-04-301-1/+1
| | | | Susser) [#67 state:resolved]
* Fixed that change_column should be able to use :null => true on a field that ↵David Heinemeier Hansson2008-04-291-1/+8
| | | | formerly had false [Nate Wiger] [#26 state:resolved]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-04-291-1/+3
|\
| * Note that allow_concurrency = true means you need to ↵Jeremy Kemper2008-04-281-1/+3
| | | | | | | | verify_active_connections! to clear out connections assigned to stale threads.
* | Default integer need not specify a limit [#20371 state:resolved] (matthuhiggins)David Heinemeier Hansson2008-04-291-1/+1
|/
* Let Base.all use conditions etc like first/lastDavid Heinemeier Hansson2008-04-282-1/+6
|
* Remove old :limit removal code from find_initial, logic is now handled in ↵Aliaksey Kandratsenka2008-04-271-1/+1
| | | | | | the preloading and eager loading code. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Ensure table names are quoted by the association preloading code.Frederick Cheung2008-04-261-9/+7
| | | | | | [#45 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Added that the MySQL adapter should map integer to either smallint, int, or ↵David Heinemeier Hansson2008-04-251-0/+16
| | | | bigint depending on the :limit just like PostgreSQL [DHH]
* Fixes a subtle bug when using symbols for key definitions in habtm associationsDavid Dollar2008-04-231-3/+3
|
* Fix include? on has_many collections with finder_sql to fall back to Array ↵Joshua Bates2008-04-231-0/+1
| | | | | | include? rather than try to use SQL. [#18 state:resolved]
* Use schema.rb for all databasesFrederick Cheung2008-04-221-1/+1
| | | | | | Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com>