aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
...
* Document Active Record exceptions. Closes #10444.Jeremy Kemper2007-12-101-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More changelog updatesJeremy Kemper2007-12-101-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More changelog updatesJeremy Kemper2007-12-101-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* lifo -> PratikJeremy Kemper2007-12-101-15/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More contributor name updatesJeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Chu's name in changelogsJeremy Kemper2007-12-101-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Fred's name in changelogsJeremy Kemper2007-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed query cache rescue as it could cause code to be run twice (closes ↵David Heinemeier Hansson2007-12-071-0/+5
| | | | | | #10408) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Anchor DateTimeTest to fixed DateTime instead of a variable value based on ↵Geoff Buesing2007-12-071-0/+2
| | | | | | Time.now#advance#to_datetime. Works around issue on 64-bit platforms with Ruby's Time#to_datetime respecting fractional seconds, and database adapters not respecting them for DateTimes, throwing off before-and-after-save equality test. References #10080, #10073 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the Query Cache should just be ignored if the database is ↵David Heinemeier Hansson2007-12-061-0/+2
| | | | | | misconfigured (so that the "About your applications environment" works even before the database has been created) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preparing for release shortlyDavid Heinemeier Hansson2007-12-061-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the truncation of strings longer than 50 chars should use inspect ↵David Heinemeier Hansson2007-12-061-0/+2
| | | | | | so newlines etc are escaped (closes #10385) [norbert] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that habtm associations should be able to set :select as part of their ↵David Heinemeier Hansson2007-12-051-28/+2
| | | | | | definition and have that honored [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document how the :include option can be used in Calculations::calculate. ↵Marcel Molina2007-12-051-0/+2
| | | | | | Closes #7446 [adamwiggins, ultimoamore] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in documentation for polymorphic associations w/STI. Closes #7461 ↵Marcel Molina2007-12-051-0/+2
| | | | | | [johnjosephbachir] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reveal that the type option in migrations can be any supported column type ↵Marcel Molina2007-12-051-0/+2
| | | | | | for your database but also include caveat about agnosticism. Closes #7531 [adamwiggins, mikong] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More complete documentation for find_by_sql. Closes #7912 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document API for exists?'s parameter and provide examples of usage. Closes ↵Marcel Molina2007-12-051-0/+2
| | | | | | #7913 [fearoffish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document API for create's attributes parameter and provide examples. Closes ↵Marcel Molina2007-12-051-0/+2
| | | | | | #7915 [fearoffish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for find incorrectly omits the :conditions option from various ↵Marcel Molina2007-12-051-0/+2
| | | | | | examples. Closes #7923 [mattwestcott] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document options and add examples for update. Closes #7985 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document options and add examples for delete. Closes #7986 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document options and add examples for destroy. Closes #7988 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document options and add examples for update_all. Closes #7990 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document options for update_counters. Closes #8091 [fearoffish]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation about the virtual attribute added by ↵Marcel Molina2007-12-051-0/+2
| | | | | | validates_confirmation_of and its behavior. Closes #8815 [JEG2, matt, kampers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation for freeze and readonly related methods. Closes #8878 ↵Marcel Molina2007-12-051-0/+2
| | | | | | [pelargir, jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document the timestamps schema definition method. Closes #9000 [mikong]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give examples for what tables should be called for models inside a module ↵Marcel Molina2007-12-051-0/+2
| | | | | | namespace. Closes #10288 [scott_willson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8282 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document the :message option for validates_associated. Closes #10357 [dylans]Marcel Molina2007-12-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document automatically generated predicate methods for attributes. Closes ↵Marcel Molina2007-12-051-0/+2
| | | | | | #10373 [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base#becomes to turn a record into one of another class ↵David Heinemeier Hansson2007-12-031-0/+4
| | | | | | (mostly relevant for STIs) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8259 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that to_xml should not automatically pass :procs to associations ↵David Heinemeier Hansson2007-12-031-0/+5
| | | | | | included with :include (closes #10162) [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation typo introduced in [8250]. Closes #10339 [Henrik N]Marcel Molina2007-12-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prep for RC2David Heinemeier Hansson2007-11-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Foxy fixtures: support single-table inheritance. Closes #10234.Jeremy Kemper2007-11-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Foxy fixtures: allow mixed usage to make migration easier and more ↵Jeremy Kemper2007-11-261-0/+2
| | | | | | attractive. Closes #10004. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the record_timestamps class-inheritable so it can be set per model. ↵Jeremy Kemper2007-11-261-0/+2
| | | | | | References #10004. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow validates_acceptance_of to use a real attribute instead of only ↵David Heinemeier Hansson2007-11-251-0/+2
| | | | | | virtual (so you can record that the acceptance occured) (closes #7457) [ambethia] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor Ruby's default calendar reform setting when creating DateTime objects ↵Geoff Buesing2007-11-241-0/+2
| | | | | | via ActiveRecord's Time -> DateTime overflow, Time#time_with_datetime_fallback, Time#to_datetime, Date#to_datetime and String#to_datetime. Closes #10201 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dynamic finders on association collections respect association :limit. ↵Jeremy Kemper2007-11-211-0/+2
| | | | | | Closes #10227 [Jack Danger Canty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* validates_inclusion_of and validates_exclusion_of allow formatted :message ↵Jeremy Kemper2007-11-201-0/+2
| | | | | | strings. Closes #8132 [devrieda, Mike Naberezny] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'foxy' support for fixtures of polymorphic associations. Closes #10183 ↵Michael Koziarski2007-11-201-0/+2
| | | | | | [jbarnette, David Lowenfels] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* attr_readonly behaves well with optimistic locking. Closes #10188.Jeremy Kemper2007-11-161-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base#to_xml supports the nil="true" attribute like Hash#to_xml. Closes #8268.Jeremy Kemper2007-11-141-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change plings to the more conventional quotes in the documentation. Closes ↵Marcel Molina2007-11-121-0/+2
| | | | | | #10104 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix HasManyThrough Association so it uses :conditions on the HasMany ↵Rick Olson2007-11-111-0/+2
| | | | | | Association. Closes #9729 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that column names are quoted. Closes #10134 [wesley.moxam]Michael Koziarski2007-11-101-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Kill the whiny_protected_attributes setting and kill the exception raised. ↵David Heinemeier Hansson2007-11-091-1/+1
| | | | | | Instead, just log the mass-assignment misalignment as a debug warning (closes #9966) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]Marcel Molina2007-11-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de