Rick Olson
|
ce102e3af9
|
Ensure optimistic locking handles nil #lock_version values properly. Closes #10510 [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 01:45:30 +00:00 |
|
Rick Olson
|
abd7cf343c
|
Make the Fixtures Test::Unit enhancements more supporting for double-loaded test cases. Closes #10379 [brynary]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 01:23:05 +00:00 |
|
Marcel Molina
|
9661395d38
|
Remove references to nonexistent :joins documentation. Closes #10498 [tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-13 19:51:44 +00:00 |
|
Marcel Molina
|
8945ea9ba2
|
Document what to pass the :accept option for validates_acceptance_of when mapping the attribute to an actual column (rather than a virtual one). Closes #10491 [xaviershay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-13 03:33:54 +00:00 |
|
Rick Olson
|
d98728e091
|
Fix that validates_acceptance_of still works for non-existent tables (useful for bootstrapping new databases). Closes #10474 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-12 23:55:14 +00:00 |
|
Rick Olson
|
66e97c34c1
|
Ensure that the :uniq option for has_many :through associations retains the order. #10463 [remvee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-11 20:08:30 +00:00 |
|
Jeremy Kemper
|
f67add4283
|
Base.exists? doesn't rescue exceptions to avoid hiding SQL errors. Closes #10458.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-11 01:53:54 +00:00 |
|
Jeremy Kemper
|
4b055a4a6a
|
Update destroy_all and delete_all documentation to better describe their tradeoffs. Closes #10447.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 09:12:18 +00:00 |
|
Jeremy Kemper
|
73673256ac
|
Document Active Record exceptions. Closes #10444.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 04:13:33 +00:00 |
|
Jeremy Kemper
|
ed6949b2d7
|
Remove unused ConnectionFailed exception
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 03:34:05 +00:00 |
|
Jeremy Kemper
|
836f32cf7d
|
Axe outdated :ar_joins commentary
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 01:48:14 +00:00 |
|
Jeremy Kemper
|
220a64e9b6
|
post.comments.reload returns the association rather than the result of load_target. Closes #10438 [Fred Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 01:07:04 +00:00 |
|
Jeremy Kemper
|
1542886e40
|
Document the validates class method. Closes #10216 [Farley Knight]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 00:47:55 +00:00 |
|
Jeremy Kemper
|
77de690a56
|
Be careful not to reference ActiveRecord if it isn't loaded, fixing rake test when you're working without a database. [eedn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-09 04:37:46 +00:00 |
|
David Heinemeier Hansson
|
1acd54a5b4
|
Make ready for 2.0.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-07 13:37:13 +00:00 |
|
David Heinemeier Hansson
|
7f02cdd4a0
|
Removed query cache rescue as it could cause code to be run twice (closes #10408) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-07 13:34:06 +00:00 |
|
David Heinemeier Hansson
|
731ecec15e
|
Fixed that the Query Cache should just be ignored if the database is 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
|
2007-12-06 22:05:48 +00:00 |
|
Jeremy Kemper
|
699da7001b
|
The test task stops with a warning if you have pending migrations. Closes #10377.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-06 18:57:19 +00:00 |
|
David Heinemeier Hansson
|
729741a3fa
|
Preparing for release shortly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-06 18:12:48 +00:00 |
|
David Heinemeier Hansson
|
e16ecaf84c
|
Fixed that the truncation of strings longer than 50 chars should use inspect so newlines etc are escaped (closes #10385) [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-06 00:01:11 +00:00 |
|
David Heinemeier Hansson
|
2e47db2fbd
|
Fixed that habtm associations should be able to set :select as part of their definition and have that honored [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 21:53:53 +00:00 |
|
Marcel Molina
|
ee6b6073d5
|
Document how the :include option can be used in Calculations::calculate. Closes #7446 [adamwiggins, ultimoamore]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 20:51:03 +00:00 |
|
Marcel Molina
|
aa9ed408a8
|
Fix typo in documentation for polymorphic associations w/STI. Closes #7461 [johnjosephbachir]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 20:24:41 +00:00 |
|
Marcel Molina
|
632ab246db
|
Reveal that the type option in migrations can be any supported column type 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
|
2007-12-05 20:20:37 +00:00 |
|
David Heinemeier Hansson
|
2af36bbbd4
|
Fix typos (closes #10378)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 18:54:41 +00:00 |
|
Marcel Molina
|
edf32cea3f
|
More complete documentation for find_by_sql. Closes #7912 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 17:37:18 +00:00 |
|
Marcel Molina
|
971ed15360
|
Document API for exists?'s parameter and provide examples of usage. Closes #7913 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 17:35:17 +00:00 |
|
Marcel Molina
|
a23bea7c0d
|
Document API for create's attributes parameter and provide examples. Closes #7915 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 17:33:18 +00:00 |
|
Marcel Molina
|
a7e6e009c9
|
Documentation for find incorrectly omits the :conditions option from various examples. Closes #7923 [mattwestcott]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 17:29:27 +00:00 |
|
Marcel Molina
|
1b7a18dec8
|
Document options and add examples for update. Closes #7985 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 15:17:34 +00:00 |
|
Marcel Molina
|
6a45e01b32
|
Document options and add examples for delete. Closes #7986 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 15:15:56 +00:00 |
|
Marcel Molina
|
ed69b38afa
|
Document options and add examples for destroy. Closes #7988 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 15:14:40 +00:00 |
|
Marcel Molina
|
4f1d353b18
|
Document options and add examples for update_all. Closes #7990 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 15:13:10 +00:00 |
|
Marcel Molina
|
6bd7d30e75
|
Document options for update_counters. Closes #8091 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 15:06:45 +00:00 |
|
Marcel Molina
|
b4337c236e
|
Add documentation about the virtual attribute added by 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
|
2007-12-05 15:04:06 +00:00 |
|
Marcel Molina
|
8c2177c49d
|
Add documentation for freeze and readonly related methods. Closes #8878 [pelargir, jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:55:54 +00:00 |
|
Marcel Molina
|
4570cf66ce
|
Document the timestamps schema definition method. Closes #9000 [mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:47:44 +00:00 |
|
Marcel Molina
|
d64832c040
|
Give examples for what tables should be called for models inside a module namespace. Closes #10288 [scott_willson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8282 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:28:05 +00:00 |
|
Marcel Molina
|
7f671f4ae5
|
Document the :message option for validates_associated. Closes #10357 [dylans]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:24:39 +00:00 |
|
Marcel Molina
|
e4d845ef54
|
Document automatically generated predicate methods for attributes. Closes #10373 [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:22:26 +00:00 |
|
David Heinemeier Hansson
|
a5fded3e88
|
Fix that options[:from] table names should never be quoted [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 02:30:30 +00:00 |
|
David Heinemeier Hansson
|
326548770d
|
Copy the cache too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-03 02:22:06 +00:00 |
|
David Heinemeier Hansson
|
e6f54290af
|
Added ActiveRecord::Base#becomes to turn a record into one of another class (mostly relevant for STIs) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8259 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-03 02:01:21 +00:00 |
|
David Heinemeier Hansson
|
c4cb2dd014
|
Fixed that to_xml should not automatically pass :procs to associations included with :include (closes #10162) [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-03 01:47:21 +00:00 |
|
Marcel Molina
|
c84c0437d7
|
Fix documentation typo introduced in [8250]. Closes #10339 [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-02 19:54:18 +00:00 |
|
Jeremy Kemper
|
e7c5da6260
|
Handle 8.1 default formatting. Closes #10333 [Tim Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-02 03:33:58 +00:00 |
|
Michael Koziarski
|
c01c28c304
|
Warn users about the race condition in validates_uniqueness_of. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-01 23:12:49 +00:00 |
|
Tobias Lütke
|
a25b2e116c
|
Removed documentation for the removed rollback! method on transactions and mention ActiveRecord::Rollback [cody]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 22:25:42 +00:00 |
|
Michael Koziarski
|
e302759451
|
Make reset return nil when using a dangling belongs_to association. Current behaviour is to return false which can be confusing. Closes #10293 [fcheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 02:19:10 +00:00 |
|
David Heinemeier Hansson
|
54a75de3ec
|
Prep for RC2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 00:27:53 +00:00 |
|