Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ruby 1.9 compat: corrected instance_methods check | sdsykes | 2009-09-13 | 1 | -1/+2 |
| | | | | | | [#3156 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | activesupport -> active_support | Jeremy Kemper | 2009-09-13 | 1 | -3/+2 |
| | |||||
* | making secure_compare faster | Aaron Patterson | 2009-09-13 | 1 | -28/+8 |
| | | | | | | [#3195 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Dup the arguments to string compare so we can use force_encoding. | Michael Koziarski | 2009-09-13 | 1 | -2/+2 |
| | |||||
* | Merge commit 'alloy/master-nested_attributes_and_autosave' | Michael Koziarski | 2009-09-13 | 15 | -94/+424 |
|\ | |||||
| * | Removed the version of ActiveRecord::Base#destroyed? that was added in ↵ | Eloy Duran | 2009-09-12 | 2 | -7/+0 |
| | | | | | | | | | | | | a44a1257d879311d88c2d10c366ab0d6561f903a. Because José Valim was cheeky enough to already add it to the master branch. | ||||
| * | Removed some superfluous conditionals from the autosave association ↵ | Eloy Duran | 2009-09-12 | 1 | -5/+3 |
| | | | | | | | | | | | | validation methods. Which are unneeded now that we only define them when needed. | ||||
| * | Define autosave association validation methods only when needed. [#3161 ↵ | Alexey Kovyrin | 2009-09-12 | 4 | -7/+132 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Added some documentation about setting :autosave => false on an association. | Eloy Duran | 2009-09-12 | 1 | -3/+4 |
| | | |||||
| * | During autosave, ignore records that already have been destroyed. [#2537 ↵ | Eloy Duran | 2009-09-12 | 2 | -2/+28 |
| | | | | | | | | state:resolved] | ||||
| * | Fix has_one with foreign_key and primary_key association bug which caused ↵ | Graeme Porteous | 2009-09-12 | 6 | -5/+20 |
| | | | | | | | | | | | | | | | | the associated object being lost when saving the owner. [#1756 state:resolved] Mixed in a bit from patch by ransom-briggs. [#2813 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Rename nested attributes _delete to _destroy to reflect its actual behavior ↵ | José Valim | 2009-09-12 | 2 | -54/+71 |
| | | | | | | | | | | | | and DSL (:allow_destroy). Deprecation warning added. [#2889 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Fix autosave association to skip validation if it is marked for destruction. ↵ | Dmitry Polushkin | 2009-09-12 | 2 | -8/+11 |
| | | | | | | | | | | | | [#2064 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Explicitely setting `autosave => false' should override new_record ↵ | Eloy Duran | 2009-09-12 | 4 | -6/+75 |
| | | | | | | | | | | | | autosaving. [#2214 state:resolved] Original author is Jacob. | ||||
| * | Allow fields_for on a nested_attributes association to accept an explicit ↵ | Andrew France | 2009-09-12 | 2 | -7/+55 |
| | | | | | | | | | | | | collection to be used. [#2648 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Don't cascade autosave validation to destroyed children. [#2761 state:resolved] | Lance Ivy | 2009-09-12 | 4 | -0/+20 |
| | | | | | | | | Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
| * | Raise an exception with friendlier error message when attempting to build a ↵ | Mike Breen | 2009-09-12 | 3 | -1/+16 |
| | | | | | | | | | | | | polymorphic belongs_to with accepts_nested_attributes_for. [#2318 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> | ||||
* | | Memoize in the endpoint. | Yehuda Katz | 2009-09-12 | 3 | -100/+11 |
| | | |||||
* | | Get ActionPack's test running on bundled gems. This should make running ↵ | Yehuda Katz | 2009-09-12 | 12 | -12/+127 |
| | | | | | | | | tests on new machines, as well as CI, work well. | ||||
* | | Revert "ruby 1.9 friendly secure_compare" because it breaks CI and Sam ↵ | Yehuda Katz | 2009-09-12 | 1 | -6/+9 |
| | | | | | | | | | | | | Ruby's suite This reverts commit 5de75398c495f109772b622291362a98bc6c21d1. | ||||
* | | Add per-controller middleware | Yehuda Katz | 2009-09-12 | 2 | -1/+91 |
|/ | |||||
* | Fix habtm associations when using multiple databases | sdsykes | 2009-09-12 | 1 | -2/+2 |
| | | | | | | [#3128] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "Allow frameworks to be required by their gem name" | Jeremy Kemper | 2009-09-12 | 6 | -6/+0 |
| | | | | | | | This has just been confusing. Better to educate than band-aid. This reverts commit 18a24274ec823ded4ffa29bf33fd3d76816aab7e. Originally from http://dev.rubyonrails.org/ticket/8845 [drnic] | ||||
* | Ruby 1.9 compat: Avoid using the return value of FileUtils.mkdir_p, as it ↵ | Akira Matsuda | 2009-09-11 | 1 | -1/+1 |
| | | | | | | | | does not return a String but an Array in Ruby 1.9 [#2018 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure validation errors to be ordered in declared order | Akira Matsuda | 2009-09-11 | 2 | -1/+18 |
| | | | | | | [#2301 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix default_error_messages back to the original message | Akira Matsuda | 2009-09-11 | 1 | -3/+6 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | ruby 1.9 friendly secure_compare | Jakub Kuźma | 2009-09-12 | 1 | -9/+6 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Removed the copyright notice not to show it in the result of 'ri ActiveRecord'. | Shugo Maeda | 2009-09-11 | 1 | -22/+0 |
| | |||||
* | Add gem load paths after loading environment | Joshua Peek | 2009-09-11 | 1 | -9/+9 |
| | |||||
* | Fix filtering parameters when there are Fixnum or other un-dupable values. | Nathaniel Talbott | 2009-09-10 | 2 | -1/+2 |
| | | | | | | [#3184 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove redundant checks for valid character regexp in ↵ | Beau Harrington | 2009-09-10 | 1 | -2/+2 |
| | | | | | | | | ActiveSupport::Multibyte#clean and #verify. [#3181 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix callbacks on ActionPack. | José Valim | 2009-09-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 11 | -160/+155 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 27 | -461/+376 |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9: fix MessageVerifier#secure_compare | Jeremy Kemper | 2009-09-08 | 1 | -9/+27 |
| | |||||
* | Please 1.8.6 CI | Joshua Peek | 2009-09-07 | 1 | -0/+3 |
| | |||||
* | Start running AS isolated tests on CI | Joshua Peek | 2009-09-07 | 1 | -0/+1 |
| | |||||
* | Use draw/connect mapper api instead of directly using add_named_route | Joshua Peek | 2009-09-06 | 1 | -12/+34 |
| | |||||
* | Need to reset session for AR session tests after altering the route set | Joshua Peek | 2009-09-06 | 1 | -0/+1 |
| | |||||
* | Add fake controllers for url rewriter tests | Joshua Peek | 2009-09-06 | 2 | -0/+6 |
| | |||||
* | Cleanup hacky routing with controller_path in url helper tests. This doesn't ↵ | Joshua Peek | 2009-09-06 | 3 | -64/+58 |
| | | | | work in real life anyway. | ||||
* | Need to reset session in internal integration tests after altering the route set | Joshua Peek | 2009-09-06 | 1 | -0/+1 |
| | |||||
* | Fix isolated running of AddressesTest | Joshua Peek | 2009-09-06 | 2 | -6/+3 |
| | |||||
* | Fix isolated running of ActionPackAssertionTest | Joshua Peek | 2009-09-06 | 2 | -1/+2 |
| | |||||
* | Fix failing isolated routing test | Joshua Peek | 2009-09-05 | 1 | -16/+16 |
| | |||||
* | Fix failing ARes isolated tests | Joshua Peek | 2009-09-05 | 3 | -2/+6 |
| | |||||
* | Fix warnings in AMo | Joshua Peek | 2009-09-05 | 8 | -51/+10 |
| | |||||
* | Fix failing AMo isolated tests | Joshua Peek | 2009-09-05 | 4 | -0/+7 |
| | |||||
* | Fix failing AS isolated tests | Joshua Peek | 2009-09-05 | 4 | -3/+14 |
| | |||||
* | Turn warnings on for AS isolated tests | Joshua Peek | 2009-09-05 | 1 | -1/+1 |
| |