Commit Graph

953 Commits

Author SHA1 Message Date
rspeicher
b083bf2410 Generators Guide: Remove semicolons from prologue, as none of the other guides had them 2010-06-20 16:15:11 -04:00
Jaime Iniesta
6d222cb94e cleaner output for rake validate_guides: dot-style, brief summary and detailed description below 2010-06-18 15:26:07 +02:00
Bryan Woods
5861fde01f Merge remote branch 'origin/master' 2010-06-16 15:53:20 -04:00
Bryan Woods
c1ff781001 Guides: renaming to active_record_validations_callbacks for consistency and updating links to reflect new path 2010-06-16 15:50:32 -04:00
kaygee
9a4fc42071 Clarify language around list of finder methods.
Clarify that finder methods return an instance of class ActiveRecord::Relation.
2010-06-16 13:06:46 -05:00
kaygee
317a75bf58 Fix incorrect pluralization in 'These methods allows you to pass arguments...'. 2010-06-16 12:10:50 -05:00
rohit
746347d997 Guides: AS Core Extensions, behaviour => behavior 2010-06-16 12:52:21 +05:30
rohit
f103a75b48 Guides: AS Core Extensions, fixed a few typos. 2010-06-16 12:48:32 +05:30
Bryan Woods
33b46079bc Fixing some minor typos, grammar, accuracy, and spacing issues in Active Record Validations Callbacks guide 2010-06-15 15:17:23 -04:00
rspeicher
1a50cc3163 Routing guide - Minor typo/consistency changes 2010-06-14 18:46:30 -04:00
rspeicher
6f0eb4a098 Active Record Basics - Separate and clarify the explanations for created_at/on and updated_at/on 2010-06-14 18:19:01 -04:00
rspeicher
ef2798f018 Active Record Basics - Style and grammar edits
- "i.e." should be "e.g." in these cases, and include the comma
- Newline consistency before/after Ruby blocks
- Conform to the apparent guide standard of "Active Record" over "ActiveRecord"
2010-06-14 18:11:35 -04:00
rspeicher
b442edbfcc Fix minor typos and inconsistencies, and one minor grammar change 2010-06-14 17:19:15 -04:00
Derek Willis
4b05de19aa updated active record querying guide to standardize on first_name for Client 2010-06-13 22:36:42 -04:00
Derek Willis
1c95b67857 updated active record querying guide to standardize on first_name for Client 2010-06-13 22:35:16 -04:00
Santiago Pastorino
2fadc1c5dd Remove unneeded .rb suffix on require statements 2010-06-13 19:50:38 -03:00
Josiah Ivey
52ed3404bc Routing guide: Fix path 2010-06-13 10:29:32 -05:00
Rohit Arondekar
b7a305f0cb Rails Guides: AR Querying, .count should be at the end as it returns a number. [#4811 state:resolved] 2010-06-13 03:05:56 -07:00
Santiago Pastorino
8d1b742979 gems versions bumped up 2010-06-13 05:48:25 -03:00
Xavier Noria
f2991fc9cc Merge remote branch 'docrails/master' 2010-06-12 00:30:48 +02:00
Xavier Noria
b731948bda AS guide: updates docs on date calculations to reflect a0a6cc2 2010-06-12 00:19:12 +02:00
Xavier Noria
2148e2cc94 grammar fixes 2010-06-11 07:00:08 +02:00
Neeraj Singh
54437f30f7 fixing typo 2010-06-10 21:49:09 -04:00
Xavier Noria
61fc7a4550 abort generation/booting on Ruby 1.9.1 2010-06-10 21:49:45 +02:00
Xavier Noria
751f79a033 Merge remote branch 'rails/master' 2010-06-08 21:23:29 +02:00
Xavier Noria
e7e6ee3e7b AS guide: documents datetime calculations 2010-06-08 20:10:39 +02:00
Mikel Lindsaar
80a044edb6 Updating ActionMailer basics guide to have inline attachments 2010-06-07 23:25:49 -04:00
Xavier Noria
73d8bf245c getting started guide: mentions that last REE release does not have the bugs of MRI p248 and p249 2010-06-07 16:42:55 +02:00
Xavier Noria
9ff61917a3 getting started guide: mentions that last REE release does not have the bugs of MRI p248 and p249 2010-06-07 16:27:28 +02:00
Xavier Noria
0dbc732995 AS guide: first complete draft covering date/calculations.rb 2010-06-06 18:26:42 +02:00
Rizwan Reza
e6f2102178 Merge branch 'master' of git://github.com/rails/rails 2010-06-05 04:04:49 +04:30
Xavier Noria
8e8cb1769f AS guide: removes your spurious line 2010-06-05 01:19:23 +02:00
Xavier Noria
67a43554f1 removes Array#random_element and backports Array#sample from Ruby 1.9, thanks to Marc-Andre Lafortune 2010-06-05 01:15:17 +02:00
Mikel Lindsaar
bf83c5709f Updating guides to new rails initialization process
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 12:31:46 -05:00
eparreno
344a695383 AR validations: update sections 2.4 and 17.1 2010-06-02 21:43:37 +02:00
eparreno
785caba866 Routing: fix error in nested resources with name_prefix example [#146 state:resolved] 2010-06-02 21:14:33 +02:00
José Valim
afc1026986 Still copy application configuration to generator even if they are required earlier. Also tidy up the guide a little bit. 2010-06-02 08:45:33 +02:00
Josiah Ivey
3633cb8541 Revert "Guides: Give code container a proper bottom margin"
This reverts commit 4b71fc22ca205db8f083c2eab1cc3969f7addb69.
2010-06-01 23:23:46 -05:00
Josiah Ivey
4b71fc22ca Guides: Give code container a proper bottom margin 2010-06-01 23:14:58 -05:00
Xavier Noria
fdd203f964 Merge remote branch 'docrails/master' 2010-06-02 01:35:43 +02:00
Xavier Noria
158473f0d1 AS guide: documents String#truncate 2010-06-02 00:28:23 +02:00
eparreno
82f67586b2 AR validations & callbacks: update callbacks list 2010-05-31 10:37:13 +02:00
wycats
45e60283e7 Removing Metal from Rails 3.
If you have existing Metals, you have a few options:
* if your metal behaves like a middleware, add it to the
  middleware stack via config.middleware.use. You can use
  methods on the middleware stack to control exactly where
  it should go
* if it behaves like a Rack endpoint, you can link to it
  in the router. This will result in more optimal routing
  time, and allows you to remove code in your endpoint
  that matches specific URLs in favor of the more powerful
  handling in the router itself.

For the future, you can use ActionController::Metal to get
a very fast controller with the ability to opt-in to specific
controller features without paying the penalty of the full
controller stack.

Since Rails 3 is closer to Rack, the Metal abstraction is
no longer needed.
2010-05-29 20:08:00 +02:00
eparreno
6330e2af11 add <%= to fields_for examples 2010-05-28 16:46:12 +02:00
Josiah Ivey
96e2094b8b Form Helpers guide: Use new syntax for fields_for examples 2010-05-25 08:03:04 -05:00
Ryan Bigg
2a833d7bd8 Cover more of the Rails initialization process, regarding the internals of YourApp::Application inheritance from Rails::Application and more. 2010-05-25 19:07:55 +10:00
Jaime Iniesta
844b195292 Fixed XHTML on activerecord_validation_callbacks guide 2010-05-24 19:00:37 +02:00
Jaime Iniesta
d85b3ef3c1 Added info about guides validation to Contribute guide 2010-05-24 18:30:47 +02:00
Jaime Iniesta
781692d583 Fixed minor typo on credits 2010-05-24 18:12:24 +02:00
Jaime Iniesta
3391cb903e Merge branch 'w3c_validator' 2010-05-24 18:07:48 +02:00