aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* typosFrederick Cheung2008-12-311-2/+2
|
* minor clarificationsFrederick Cheung2008-12-311-6/+5
|
* Warning about using select on associationsFrederick Cheung2008-12-311-0/+8
|
* Fix one last remaining 'we'Frederick Cheung2008-12-311-1/+1
|
* ActiveRecord -> Active RecordFrederick Cheung2008-12-311-1/+1
|
* put credits at end, consistent with other guidesFrederick Cheung2008-12-311-0/+8
|
* exorcise we/us/oursFrederick Cheung2008-12-311-27/+27
|
* clarify option valueFrederick Cheung2008-12-311-1/+1
|
* fix mistakes from mergeFrederick Cheung2008-12-311-4/+1
|
* Tidy up discussion of second hash passed to form_tag/html options for form_forFrederick Cheung2008-12-311-8/+8
|
* Waffle about the difference between text_field and f.text_fieldFrederick Cheung2008-12-311-5/+6
|
* Add warningFrederick Cheung2008-12-311-0/+4
|
* Stylistic tweakFrederick Cheung2008-12-311-1/+1
|
* describe foo_tag versus fooFrederick Cheung2008-12-311-0/+37
|
* Describe options_from_collection_for_selectFrederick Cheung2008-12-311-4/+16
|
* fix typoFrederick Cheung2008-12-311-1/+1
|
* Add validations guide to indexPratik Naik2008-12-313-10/+29
|
* This example seems unnecessary. Note that the examples of form helpers ↵Xavier Noria2008-12-311-8/+0
| | | | depict just their traditional usage. The documentation of form_for is the one that makes the link with form builders. On the other hand, people are expected to know what's a hidden field in HTML forms.
* Simple example added for using hidden_field tag used in a formbparanj2008-12-301-0/+8
|
* document edge cases in AR calculations, and wrap some commentsXavier Noria2008-12-301-8/+16
|
* Rewrite ActiveRecord::Base#delete docs to remove false information about ↵Chris Kampmeier2008-12-291-7/+9
| | | | callbacks, mention return value, and improve clarity
* James B. Byrne's suggestionsRyan Bigg2008-12-291-2/+3
|
* Made code segments and method names have fixed-width fontsDaniel Schierbeck2008-12-291-8/+9
|
* Added missing images for the AR validations and callbacks guideCassioMarques2008-12-285-2/+2
|
* Fixed error message that was written in portuguese instead of english...CassioMarques2008-12-283-21/+180
|
* New content for the AR Validations and Callbacks guide: Added a section ↵CassioMarques2008-12-281-1/+115
| | | | about using error messages in view templates, added text about custom validation helpers
* Merge commit 'mainstream/master'Pratik Naik2008-12-2847-411/+769
|\
| * Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-2828-296/+373
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-282-2/+2
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Request#env['SERVER_NAME'] does not contain port numberPratik Naik2008-12-283-8/+4
| |
| * Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵Aaron Quint2008-12-281-0/+10
| | | | | | | | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-272-66/+243
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix ActionPack build on Windows: we really should not test anything ↵Yaroslav Markin2008-12-271-10/+12
| | | | | | | | | | | | regarding symlinks on Windows. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Refactor ActiveRecord::Base#new_record? [#1647 state:committed]Yaroslav Markin2008-12-271-1/+1
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * ActiveRecord::Base#new_record? now returns false for existing records (was ↵Yaroslav Markin2008-12-273-2/+9
| | | | | | | | | | | | nil) [#1219 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * More optimizations on respond_to after a profile and benching:Yehuda Katz2008-12-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | App with simple respond_to: def index respond_to do |format| format.html format.xml format.json end end On JRuby (after complete hotspot warmup) -- 8% improvement: 550 requests per second after this commit 510 requests per second with old method_missing technique On MRI (8% improvement): 430 requests per second after this commit 400 requests per second with old method_missing technique
| * Merge commit 'fred/pullable'Pratik Naik2008-12-2611-27/+101
| |\
| | * Preload uses exclusive scope [#643 state:resolved]Frederick Cheung2008-12-265-16/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | With self referential associations, the scope for the the top level should not affect fetching of associations, for example when doing Person.male.find :all, :include => :friends we should load all of the friends for each male, not just the male friends.
| | * Association preloading no longer stops if it hits a nil object [#1630 ↵Pivotal Labs2008-12-262-2/+10
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
| | * MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved]trans2008-12-262-4/+25
| | | | | | | | | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
| | * Fix assert_select_rjs not checking id for inserts [#540 state:resolved]Frederick Cheung2008-12-262-0/+9
| | |
| | * Fix randomly failing cookie store testsFrederick Cheung2008-12-261-5/+4
| | | | | | | | | | | | | | | Marshal.dump(Marshal.load(marshaled_hash)) is not guarenteed to be equal to marshaled_hash because of the lack of ordering of hash
| * | Remove method missing use in respond_toYehuda Katz2008-12-261-4/+23
| | |
* | | Revert inline docsPratik Naik2008-12-2819-220/+220
| | |
* | | Added documentation to gsub_file methodAndrew Timberlake2008-12-281-1/+7
| | |
* | | Rewrite ActiveRecord::Base.delete docs for clarity, and mention return valueChris Kampmeier2008-12-271-12/+13
| | |
* | | Regenerate Guides HTMLMike Gunderloy2008-12-2721-4485/+4527
| | |
* | | adds more inline docs for dynamically created methods in Active SupportXavier Noria2008-12-275-21/+21
| | |
* | | adds inline docs for dynamically created methods in Active RecordXavier Noria2008-12-273-35/+35
| | |
* | | adds inline docs for dynamically created methods in Action PackXavier Noria2008-12-272-7/+7
| | |