Commit Graph

2660 Commits

Author SHA1 Message Date
Andreas Scherer
48791dda34 Remove empty line that breaks 'code' formatting. 2009-02-17 14:11:59 +01:00
Andreas Scherer
5c4af59732 Use tables for object properties and their purposes.
Enumeration lists with bipartite entries could be harder to read than
two-column tables.
2009-02-17 14:04:42 +01:00
Andreas Scherer
d5376a247f Fix a programming error.
Assignment and equality are not the same.
2009-02-17 11:56:18 +01:00
Xavier Noria
d04b8ee530 yet another pass on the action controller guide 2009-02-17 01:31:37 +01:00
Joshua Peek
c33ab118f8 Properly skip fcgi tests if the gem is not installed 2009-02-16 15:12:28 -06:00
unknown
2414fdb244 Ensure template_runner can run script/* ruby scripts under Windows. [#1859 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-02-16 20:22:02 +01:00
Andreas Scherer
e8053435ac Consistent monospaced markup for command options. 2009-02-16 12:07:55 +01:00
Andreas Scherer
ce49b7522a Delete superfluous escape characters. 2009-02-16 12:00:47 +01:00
Andreas Scherer
f1f5de2efd Fix two typos. 2009-02-16 11:59:10 +01:00
Andreas Scherer
74c8ff53e7 More tables headers formatted. 2009-02-16 11:47:23 +01:00
Andreas Scherer
e2aeccee94 Mark table headers. 2009-02-16 11:36:28 +01:00
Andreas Scherer
c2c08c15a9 Fix a typo. 2009-02-16 11:35:04 +01:00
Andreas Scherer
3a4f25fb63 Genitiv apostrophe added. 2009-02-16 11:29:41 +01:00
Xavier Noria
6408308aab fixed example, closes LH ticket #59 2009-02-16 08:47:43 +01:00
Trevor Turk
bc1c856b21 Small improvements to Validations and Callbacks guide 2009-02-15 22:48:41 -06:00
Xavier Noria
a528eb19a6 copyedited the migrations guide 2009-02-15 21:01:31 +01:00
Xavier Noria
bbaf6b58d5 in main.css removed extra line-height and box for TT elements, and reformatted CSS 2009-02-15 20:35:36 +01:00
Xavier Noria
d50457c710 made a complete pass over the Action Mailer guide, it probably needs another one 2009-02-15 02:22:36 +01:00
Xavier Noria
b96ce7f946 small touches to the contribute page 2009-02-15 00:21:32 +01:00
Andreas Scherer
2c6fd1ba87 Merge branch 'master' of git@github.com:lifo/docrails 2009-02-14 15:45:58 +01:00
Andreas Scherer
8eb7ad21cc Use the controller name 'Greetings' consistently.
Moreover, there seems to be a bug in Rails 2.3.0: After editing the view file
apps/views/greetings/hello.html.erb in Vim, WEBrick ships the outdated content
from the backup file apps/views/greetings/hello.html.erb~ instead of the
intended content. Only when the 'tilde backup' file is not present, the browser
shows the correct contents (both Konqueror and Firefox; you can even add a
_different_ hello.html.erb~ to show completely different stuff).

This bug does not occur in Rails 2.2.2.
2009-02-14 15:43:55 +01:00
Mike Gunderloy
98f1c4c6ec Updates to 2.3 release notes. 2009-02-13 07:42:32 -06:00
Oshoma Momoh
a650852757 Fix loader's LoadError exception message to mention missing plugins and omit loaded plugins.
Prior to this change the LoadError message listed all plugins if any one of them was missing.

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1921 state:committed]
2009-02-13 21:40:30 +13:00
Pat Nakajima
0c95644396 Changed scaffold generated controller tests to use #to_param.
Before, the generated controller tests were calling #id, which
can change over time, making for brittle tests.

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1913 state:committed]
2009-02-13 21:37:03 +13:00
Mike Gunderloy
11b15d2de2 Layout fixes for configuring guide. 2009-02-12 20:12:22 -06:00
thedarkone
3942cb406e Port fast reloadable templates from rails-dev-boost. 2009-02-12 13:04:12 -06:00
Andreas Scherer
3bfbbeb79d Improvements for Association Basics.
Add active links to internal sections.
Use textile markup for particular words.
Improve the indentation in code examples.
Fix some typos.
2009-02-12 11:21:19 +01:00
Andreas Scherer
d7a5db2885 Use ndash for numerical relations. 2009-02-12 09:09:57 +01:00
Andreas Scherer
115f352deb Use n-dashes for ranges/relations. 2009-02-12 09:04:07 +01:00
Andreas Scherer
1ce05c5a36 <code> formatting and TIP: formatting improved. 2009-02-11 19:30:15 +01:00
Andreas Scherer
b6fcc471e2 Use explicit HTML charnames for textile-formatted <code/>. 2009-02-11 18:40:44 +01:00
Andreas Scherer
37411e9e57 Fix some formatting errors
for <code> elements
for (monospaced) displayed material
add some commas in enumerations.
2009-02-11 15:49:32 +01:00
Andreas Scherer
a088848200 More consistent use of 'an' in front of 'h'. 2009-02-11 14:13:03 +01:00
Andreas Scherer
36f33ef5f6 Improvements for the forms helper guide.
Change the wording at several places to improve the reading flow.
Sprinkle some commas into the text.
2009-02-11 11:58:37 +01:00
Andreas Scherer
2012650803 Mistyped HTML corrected. 2009-02-10 19:59:48 +01:00
Andreas Scherer
542e61849e Fix more typos.
A second occurrence of unmatched 'code' markers.
Plain HTML tags are not rendered at all, so use named HTML elements instead.
2009-02-10 19:46:54 +01:00
Andrew White
199e750d46 Fix some edge cases when the same template is called with different local assigns
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-10 12:09:49 -06:00
Gaspard Bucher
1dab1d3803 Fixes a typo in initializer.rb producing error: undefined local variable or method `view_path'. 2009-02-10 12:00:22 -06:00
Andreas Scherer
b42fb934d1 Missing 'code' marker added. 2009-02-10 18:12:30 +01:00
Trevor Turk
ad57d013d4 Removing self from credits - didn't know you needed to complete your own guide 2009-02-10 10:36:21 -06:00
Trevor Turk
447884112a Revise Observers section, add myself to the credits 2009-02-10 00:43:48 -06:00
Mike Gunderloy
f363ad31b3 Layout cleanup and minor edits for layouts & rendering guide 2009-02-09 19:42:37 -06:00
Mike Gunderloy
662a3e8701 Warning about config.threadsafe! in the configuration guide. 2009-02-09 19:42:36 -06:00
Pratik Naik
6c7e1a9130 Add Model.exists? 2009-02-10 01:49:17 +01:00
Joshua Peek
5c63be1f92 Still need to setup view paths 2009-02-09 14:53:14 -06:00
Mike Gunderloy
52a650ed7b Add some clarification of the side effects of threadsafe! 2009-02-09 14:47:42 -06:00
Bobby Wilson
7a1b62ef66 fixed a minor typo, needed an h in Neighborly 2009-02-09 13:32:43 -07:00
Andrew White
893e9eb995 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-09 14:20:30 -06:00
Pratik Naik
0108bd6fc7 Removed named scopes from the finders guide. Named scopes deserve it's own guide 2009-02-09 15:00:42 +01:00
Ahmed El-Daly
e297079ddd Modifications to the first draft of active_mailer_basics 2009-02-09 01:37:07 -05:00
Mike Gunderloy
d4434eddc9 Fix code sample in Association Basics Guide 2009-02-08 05:58:38 -06:00
Mike Gunderloy
659ee09e9a Update the contribute page 2009-02-07 17:00:39 -06:00
Pratik Naik
3b30f4b8ba Rewrite eager loading and joins sections 2009-02-07 21:50:06 +00:00
Pratik Naik
93c6fc6ee8 Reorder find options under a same section 2009-02-07 18:22:28 +00:00
Pratik Naik
b23ac32959 Improve sections dealing with order, select, limit and locking 2009-02-07 18:10:46 +00:00
Pratik Naik
6929fe6d3e Improve Conditions section 2009-02-07 16:41:29 +00:00
Pratik Naik
4cf21093e8 Add options to the arg list 2009-02-07 16:11:01 +00:00
Pratik Naik
9fd8538ca4 Improve structure at the beginning of the AR Finders guide 2009-02-07 16:05:38 +00:00
Xavier Noria
01f82d62dc edged coverage of session storage configuration 2009-02-07 15:06:26 +01:00
Xavier Noria
f11616b521 removed spurious space in changelog of routing guide 2009-02-07 14:31:38 +01:00
Xavier Noria
bc793f58b0 added Changelog section 2009-02-07 14:03:42 +01:00
Joshua Peek
f98d8ee72b Fix up failing tests broke by 2316e7d 2009-02-07 00:35:15 -06:00
Joshua Peek
2316e7dfb1 Fix FCGI handler with lighttpd [#1854 state:resolved] 2009-02-07 00:25:07 -06:00
Ryan Bigg
b7d4d8d6ed Merge branch 'master' of git@github.com:lifo/docrails 2009-02-07 13:16:09 +10:00
Pratik Naik
c85ce1bcc3 Minor fixes in layout and index 2009-02-07 03:15:24 +00:00
Ryan Bigg
a9b5655948 Fixed up bug reported by Darktatka in regards to :joins outside of lambda. 2009-02-07 13:15:10 +10:00
Pratik Naik
4cf3d4d9d5 Second version of the Rack guide 2009-02-07 02:55:38 +00:00
CassioMarques
b981ab4224 Fixing the description of the i18n guide in the index page 2009-02-06 22:54:47 -02:00
Tore Darell
38a2c4c91e Add min-height to code,pre to prevent icon from being cut off 2009-02-07 00:40:25 +01:00
Tore Darell
ecc9e86e89 Remove <code> from inside <pre> 2009-02-07 00:38:40 +01:00
Tore Darell
858aaa963c Reword the session section to reflect that CookieStore has an ID and that you can change they :key and :secret 2009-02-07 00:24:01 +01:00
Mike Gunderloy
1b60c31243 Some cleanup to Credits page 2009-02-06 16:09:06 -06:00
James Miller
715def6b54 Minor formatting fix to contribute page 2009-02-06 08:52:05 -08:00
James Miller
c5472e9238 Add new contribute page to replace existing Hackfest page 2009-02-06 08:45:21 -08:00
James Miller
3e56a38324 Fix spelling errors and references to application.rb in command line guide 2009-02-06 08:02:21 -08:00
James Miller
1a8226977f Fix spelling errors in caching guide 2009-02-06 07:59:02 -08:00
James Miller
bf43166b92 Fix spelling error in association basics guide 2009-02-06 07:57:34 -08:00
James Miller
a44f613c5f Fix some spelling erros in Active Record Querying guide 2009-02-06 07:51:11 -08:00
James Miller
ab8f87729e Fix some spelling errors in the Active Record Basics guide 2009-02-06 07:48:22 -08:00
James Miller
984fbba5e8 Fix some spelling errors in Action Controller guide 2009-02-06 07:44:34 -08:00
David Heinemeier Hansson
10b6073968 This is no longer relevant when the 500.html is comletely static 2009-02-06 15:22:04 +01:00
Mike Gunderloy
0d92746eea Update 2.3 release notes. 2009-02-06 07:59:22 -06:00
David Heinemeier Hansson
7a5da7ce78 Merge branch 'master' of git@github.com:rails/rails 2009-02-06 12:13:44 +01:00
David Heinemeier Hansson
81c7a5d48d Remove the ERb in the 500 as it looks dumb when served by the web server directly. Also, to instructions will often be wrong (the error might well be in the web server log) 2009-02-06 12:13:23 +01:00
Joshua Peek
be098f8406 Cleanup application has been merged with reload 2009-02-05 20:39:52 -06:00
Pratik Naik
b9ba2fe550 Merge commit 'mainstream/master'
Conflicts:
	railties/guides/files/javascripts/code_highlighter.js
	railties/guides/files/javascripts/guides.js
	railties/guides/files/javascripts/highlighters.js
	railties/guides/files/stylesheets/main.css
	railties/guides/files/stylesheets/print.css
	railties/guides/files/stylesheets/reset.css
	railties/guides/files/stylesheets/style.css
	railties/guides/files/stylesheets/syntax.css
	railties/guides/rails_guides/indexer.rb
	railties/guides/source/2_2_release_notes.textile
	railties/guides/source/2_3_release_notes.textile
	railties/guides/source/action_controller_overview.textile
	railties/guides/source/action_mailer_basics.textile
	railties/guides/source/active_record_basics.textile
	railties/guides/source/activerecord_validations_callbacks.textile
	railties/guides/source/association_basics.textile
	railties/guides/source/caching_with_rails.textile
	railties/guides/source/command_line.textile
	railties/guides/source/debugging_rails_applications.textile
	railties/guides/source/form_helpers.textile
	railties/guides/source/getting_started.textile
	railties/guides/source/i18n.textile
	railties/guides/source/layout.html.erb
	railties/guides/source/layouts_and_rendering.textile
	railties/guides/source/migrations.textile
	railties/guides/source/performance_testing.textile
	railties/guides/source/plugins.textile
	railties/guides/source/rails_on_rack.textile
	railties/guides/source/routing.textile
	railties/guides/source/security.textile
	railties/guides/source/testing.textile
2009-02-06 02:25:55 +00:00
Pratik Naik
96d610553e Merge docrails along with the new guides and guides generation code 2009-02-06 02:01:22 +00:00
Joshua Peek
f75b98d67e Revert "Fixed FCGI handling [#1854 state:resolved]"
This reverts commit dcc2407d9976740cebe6736ec6adeae269b81203.
2009-02-05 19:40:51 -06:00
Will Bryant
ba146a84d0 re-enable db:schema:dump so db:migrate:redo dumps the schema after migrating back up
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1412 state:committed]
2009-02-06 13:40:58 +13:00
Joshua Peek
c96382a71a Make sure all autoload constants are pulled in when using config.threadsafe! [#1831 state:resolved] 2009-02-05 16:39:32 -06:00
Peter Wagenet
dcc2407d99 Fixed FCGI handling [#1854 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-05 16:21:50 -06:00
Xavier Noria
72a865f793 added a convenience rake task for guides authors 2009-02-05 23:06:15 +01:00
Chris Cherry
b6e7a76cc5 script/server command can accept --path option to set app's root path [#1156 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-05 15:19:40 -06:00
Mike Gunderloy
4866ce45d0 Fix broken scaffolding tests [#1889 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-02-05 21:07:51 +01:00
David Heinemeier Hansson
a2da7fd349 A few more minor scaffold template cleanups 2009-02-05 20:30:33 +01:00
Mike Gunderloy
44f02de2ad Update scaffolding [#1840 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-02-05 20:27:48 +01:00
Pratik Naik
ee4b5a4e07 Change the name of perf guide in index/navbar 2009-02-05 16:09:33 +00:00
Mike Gunderloy
e5a5ed5b29 Format and typo cleanup of 2.3 release notes 2009-02-05 07:44:15 -06:00
Trevor Turk
e7d56a563b Active Record Validations and Callbacks TODOs added, spelling and small cleanup 2009-02-05 01:25:06 -06:00
Trevor Turk
1b31144961 Fix for validations docs, person.invalid?(:email) should be person.errors.invalid?(:email) 2009-02-05 00:27:52 -06:00