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 |
|
Jeremy Kemper
|
3a3e7efee9
|
attr_protected and _accessible use sets of strings instead of arrays of symbols internally. Closes #10300.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 20:13:17 +00:00 |
|
Jeremy Kemper
|
a33007d31a
|
attr_readonly uses a set of strings instead of an array of symbols internally. References #10300.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 20:12:49 +00:00 |
|
Jeremy Kemper
|
c7e3969189
|
Foxy fixtures: support single-table inheritance. Closes #10234.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:46:11 +00:00 |
|
Jeremy Kemper
|
8b3f83105c
|
Foxy fixtures: allow mixed usage to make migration easier and more attractive. Closes #10004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:45:43 +00:00 |
|
Jeremy Kemper
|
1370d15787
|
Make the record_timestamps class-inheritable so it can be set per model. References #10004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:45:03 +00:00 |
|
David Heinemeier Hansson
|
18c663eb12
|
Allow validates_acceptance_of to use a real attribute instead of only 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
|
2007-11-25 22:34:46 +00:00 |
|
David Heinemeier Hansson
|
8a59ee921a
|
Docfix (closes #10252)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-25 22:25:21 +00:00 |
|
David Heinemeier Hansson
|
f4b5ca1ff0
|
Fixed that create table with :id => false and fixtures don't play nice together (closes #10154) [jbarnette]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-25 22:08:38 +00:00 |
|
Geoff Buesing
|
becdb49186
|
Honor Ruby's default calendar reform setting when creating DateTime objects 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
|
2007-11-24 04:59:21 +00:00 |
|
Jeremy Kemper
|
dd27c4e5fb
|
PostgreSQL: correct binary escaping. References #8049, closes #10176 [jbasdf, tmacedo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-22 01:29:19 +00:00 |
|
Jeremy Kemper
|
440f2890af
|
Dynamic finders on association collections respect association :limit. Closes #10227 [Jack Danger Canty]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 07:32:44 +00:00 |
|
Michael Koziarski
|
7d459203ee
|
Make Dynamic Finders on Association Collections Respect Association :order [patrick.t.joyce, technoweenie]. Closes #10211
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 01:51:57 +00:00 |
|
Jeremy Kemper
|
8ed83b9b1e
|
validates_inclusion_of and validates_exclusion_of allow formatted :message strings. Closes #8132 [devrieda, Mike Naberezny]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-20 22:01:04 +00:00 |
|
Michael Koziarski
|
c95f066bf5
|
Add 'foxy' support for fixtures of polymorphic associations. Closes #10183 [jbarnette, David Lowenfels]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-20 21:53:22 +00:00 |
|
Michael Koziarski
|
d7ff645e31
|
Use debug, not info as log_info will discard the information if info is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 03:57:19 +00:00 |
|
Jeremy Kemper
|
473202df83
|
attr_readonly behaves well with optimistic locking. Closes #10188.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-16 20:31:24 +00:00 |
|
Jeremy Kemper
|
ea256eaa7f
|
Base#to_xml supports the nil="true" attribute like Hash#to_xml. Closes #8268.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-14 10:33:25 +00:00 |
|
Marcel Molina
|
578c7a18e4
|
Change plings to the more conventional quotes in the documentation. Closes #10104 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-12 18:36:42 +00:00 |
|
Michael Koziarski
|
a406643b95
|
Improve documentation for IrreversibleMigrations. Closes #9636 [toolmantim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-11 21:31:59 +00:00 |
|
Rick Olson
|
3104291322
|
Fix HasManyThrough Association so it uses :conditions on the HasMany Association. Closes #9729 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-11 01:03:43 +00:00 |
|
Michael Koziarski
|
79823e0b2f
|
Ensure that column names are quoted. Closes #10134 [wesley.moxam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-10 21:33:13 +00:00 |
|
David Heinemeier Hansson
|
0f2c6302a1
|
Set the record straight on the purpose and utility of db/schema.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-09 22:08:52 +00:00 |
|
David Heinemeier Hansson
|
5c8beba9dc
|
Prepare versions for RC1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-09 20:02:29 +00:00 |
|
David Heinemeier Hansson
|
b318134c99
|
Kill the whiny_protected_attributes setting and kill the exception raised. 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
|
2007-11-09 19:57:24 +00:00 |
|
David Heinemeier Hansson
|
21350d226e
|
Removed unused code (closes #9906)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-09 19:14:28 +00:00 |
|
Marcel Molina
|
7143d80147
|
Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-08 03:37:16 +00:00 |
|
David Heinemeier Hansson
|
37adea6ff1
|
Address shortcomings of changeset [8054] [protocool]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-07 15:07:39 +00:00 |
|
Marcel Molina
|
f770b829f4
|
Enhance explanation with more examples for attr_accessible macro. Closes #8095 [fearoffish, Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 23:50:23 +00:00 |
|
Marcel Molina
|
94502623fb
|
Standardize on using hyphens rather than colons to separate option names from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 23:33:40 +00:00 |
|
Marcel Molina
|
a291ea2bc9
|
Update association/method mapping table to refected latest collection methods for has_many :through. Closes #8772 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 23:20:22 +00:00 |
|
Marcel Molina
|
96fa4a2f52
|
Make transaction documentation example more realistic
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 19:11:42 +00:00 |
|
Marcel Molina
|
4f59aacb68
|
Explain semantics of having several different AR instances in a transaction block. Closes #9036 [jacobat, Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 19:04:54 +00:00 |
|
Marcel Molina
|
aaccd182ea
|
Add missing file for revision #8090
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 18:47:27 +00:00 |
|
Marcel Molina
|
026973f6a0
|
Update Schema documentation to use updated sexy migration notation. Closes #10086 [sjgman9]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 18:26:54 +00:00 |
|
Michael Koziarski
|
7e6bb82f44
|
Use the safe conversion code introduced in earlier commit. References #10068 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-05 22:29:52 +00:00 |
|
Michael Koziarski
|
8f74527282
|
Escape table names during calculation queries. [wesley.moxam, Koz] Closes #4593
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-31 05:58:09 +00:00 |
|
Michael Koziarski
|
3c9cd19786
|
Make fixtures work with the new test subclasses. [tarmo, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-31 05:43:52 +00:00 |
|
Jeremy Kemper
|
bef071dd0b
|
Introduce finder :joins with associations. Same :include syntax but with inner rather than outer joins. Closes #10012.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 21:39:52 +00:00 |
|
Jeremy Kemper
|
204c2755e2
|
Associations: speedup duplicate record check. Closes #10011.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-29 03:02:42 +00:00 |
|
Michael Koziarski
|
df0765d8dc
|
Make sure that << works on has_many associations on unsaved records. Closes #9989 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-28 03:39:18 +00:00 |
|
Jeremy Kemper
|
88f951a519
|
Allow association redefinition in subclasses. Closes #9346.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:31:09 +00:00 |
|