Commit Graph

9624 Commits

Author SHA1 Message Date
Frederick Cheung
32fee815fa Clarify fields_for and form builders 2009-01-01 10:32:22 +00:00
Frederick Cheung
d9e6413492 explain fields_for 2009-01-01 10:09:47 +00:00
Frederick Cheung
f207129ac6 First draft of section on parameter names 2008-12-31 20:17:25 +00:00
Frederick Cheung
0ac7a936c9 Added section on date/time helpers 2008-12-31 19:25:05 +00:00
Frederick Cheung
70ad0b590f country_select url 2008-12-31 18:46:37 +00:00
Frederick Cheung
c525059a98 typos 2008-12-31 18:39:32 +00:00
Frederick Cheung
c3dae67b79 minor clarifications 2008-12-31 18:30:41 +00:00
Frederick Cheung
074b1138b6 Warning about using select on associations 2008-12-31 18:17:17 +00:00
Frederick Cheung
904b3d8fce Fix one last remaining 'we' 2008-12-31 18:10:09 +00:00
Frederick Cheung
ddd1aa294a ActiveRecord -> Active Record 2008-12-31 18:09:40 +00:00
Frederick Cheung
85b22f79ab put credits at end, consistent with other guides 2008-12-31 18:08:38 +00:00
Frederick Cheung
a8ca7c051d exorcise we/us/ours 2008-12-31 18:06:23 +00:00
Frederick Cheung
1f3db5a0b0 clarify option value 2008-12-31 17:55:57 +00:00
Frederick Cheung
8f9f3e6e29 fix mistakes from merge 2008-12-31 17:18:12 +00:00
Frederick Cheung
66b88129cc Tidy up discussion of second hash passed to form_tag/html options for form_for 2008-12-31 17:13:12 +00:00
Frederick Cheung
6c8974e5db Waffle about the difference between text_field and f.text_field 2008-12-31 17:13:11 +00:00
Frederick Cheung
7156d58381 Add warning 2008-12-31 17:13:11 +00:00
Frederick Cheung
092b1d8433 Stylistic tweak 2008-12-31 17:13:11 +00:00
Frederick Cheung
73ebb26ece describe foo_tag versus foo 2008-12-31 17:13:11 +00:00
Frederick Cheung
d6c38f15d2 Describe options_from_collection_for_select 2008-12-31 17:13:11 +00:00
Frederick Cheung
b3f265ac2e fix typo 2008-12-31 17:06:00 +00:00
Pratik Naik
2a37726958 Add validations guide to index 2008-12-31 15:28:16 +00:00
Xavier Noria
6260dee015 This example seems unnecessary. Note that the examples of form helpers 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. 2008-12-31 01:19:59 +01:00
bparanj
3dae667d8f Simple example added for using hidden_field tag used in a form 2008-12-30 15:00:35 -08:00
Xavier Noria
9c3c88a894 document edge cases in AR calculations, and wrap some comments 2008-12-30 02:45:23 +01:00
Chris Kampmeier
477d37a0fb Rewrite ActiveRecord::Base#delete docs to remove false information about callbacks, mention return value, and improve clarity 2008-12-29 03:05:05 -05:00
Ryan Bigg
377e72c700 James B. Byrne's suggestions 2008-12-29 14:19:09 +10:30
Daniel Schierbeck
bf95e5a802 Made code segments and method names have fixed-width fonts 2008-12-29 03:00:22 +01:00
CassioMarques
a1f22f520b Added missing images for the AR validations and callbacks guide 2008-12-28 22:56:51 -02:00
CassioMarques
006a640fc4 Fixed error message that was written in portuguese instead of english... 2008-12-28 21:49:33 -02:00
CassioMarques
495c7109fe New content for the AR Validations and Callbacks guide: Added a section about using error messages in view templates, added text about custom validation helpers 2008-12-28 21:27:31 -02:00
Pratik Naik
d6c2285e31 Merge commit 'mainstream/master' 2008-12-28 20:00:29 +00:00
Xavier Noria
a2270ef259 Inline code comments for class_eval/module_eval [#1657 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-28 19:49:28 +00:00
Mike Gunderloy
1fb275541a Ensure template runner tests don't depend on hash ordering [#1654 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-28 17:49:58 +00:00
Pratik Naik
fec0ea9d6d Request#env['SERVER_NAME'] does not contain port number 2008-12-28 17:07:13 +00:00
Aaron Quint
c0c79f779c Use SimpleLogger for Rails::TemplateRunner outside of the Generator context [#1618 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-28 16:49:19 +00:00
Pratik Naik
aaea12c497 Revert inline docs 2008-12-28 16:01:38 +00:00
Andrew Timberlake
297276b99c Added documentation to gsub_file method 2008-12-28 01:25:23 -05:00
Chris Kampmeier
1ea13fce1a Rewrite ActiveRecord::Base.delete docs for clarity, and mention return value 2008-12-27 18:03:19 -05:00
Mike Gunderloy
fa6218c923 Regenerate Guides HTML 2008-12-27 16:16:49 -06:00
Aaron Quint
9fd35fc2d8 Adding test coverage and better logging to Rails::TemplateRunner [#1618 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-27 21:03:44 +00:00
Xavier Noria
8b1d69d197 adds more inline docs for dynamically created methods in Active Support 2008-12-27 20:49:28 +01:00
Xavier Noria
6adfbf2844 adds inline docs for dynamically created methods in Active Record 2008-12-27 20:25:41 +01:00
Xavier Noria
0ba8dcb444 adds inline docs for dynamically created methods in Action Pack 2008-12-27 20:06:45 +01:00
Xavier Noria
8cabcbd272 adds inline docs for dynamically created methods in Active Support 2008-12-27 19:28:32 +01:00
Yaroslav Markin
fdaa9ed033 Fix ActionPack build on Windows: we really should not test anything regarding symlinks on Windows.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-27 17:33:13 +00:00
Mike Gunderloy
711512a42b More formatting cleanup for testing guide 2008-12-27 09:34:56 -06:00
Mike Gunderloy
930b20678e Fix typo in layout and rendering guide 2008-12-27 09:07:55 -06:00
Mike Gunderloy
6d0639c95e Merge patch on subtemplates into layouts & rendering guide 2008-12-27 09:05:37 -06:00
Mike Gunderloy
e51b8e2036 Add information on new rendering syntax to layouts + rendering guide 2008-12-27 08:52:32 -06:00