Commit Graph

18075 Commits

Author SHA1 Message Date
Joost Baaij
49028f6112 Merge branch 'master' of github.com:lifo/docrails 2010-08-30 21:20:21 +02:00
Joost Baaij
66998c9662 Merge branch 'master' of github.com:lifo/docrails 2010-08-30 21:17:08 +02:00
Joost Baaij
7803bb015d Remove beta and RC paths in documentation 2010-08-30 21:16:53 +02:00
Xavier Noria
4c0d5d60f7 Revert "refer to guides since 3.0 is released now"
Reason: This is an exception. Thing is when you contribute to Rails you need to know how to proceed *now*, the instructions may be different than the ones published with some past release.

This reverts commit d1b239da4ceebb429246db3d09cfa05a910bc895.
2010-08-30 21:16:39 +02:00
Xavier Noria
e4c66d8fbf Revert "Revert "refer to guides since 3.0 is released now""
Wanted to revert a different commit with same message

This reverts commit 15d07981f6617a3f97f9e36f257131b56a97a441.
2010-08-30 21:14:29 +02:00
Xavier Noria
15d07981f6 Revert "refer to guides since 3.0 is released now"
Reason: This is an exception. Thing is when you contribute to Rails you need to know how to proceed *now*, the instructions may be different than the ones published with some past release.

This reverts commit 3d13dc88e20f86ac294baeafdd8343c5ddd3b623.
2010-08-30 21:08:54 +02:00
Joost Baaij
3d13dc88e2 refer to guides since 3.0 is released now 2010-08-30 21:03:07 +02:00
Joost Baaij
d1b239da4c refer to guides since 3.0 is released now 2010-08-30 21:00:24 +02:00
Damien Mathieu
414b68df1f fix the cache_fu links 2010-08-30 15:08:55 +02:00
Bryan Helmkamp
880f202591 Update README to match Rails 3 generated directory structure 2010-08-30 06:27:57 -04:00
Akira Matsuda
db24aab624 The command for creating the sessions table has changed 2010-08-30 16:02:11 +09:00
Joost Baaij
591e87fe7b Expanded routing documentation with current best practices 2010-08-29 00:04:14 +02:00
Joost Baaij
5ead15b075 Rework the routing documentation.
Move the default route to the bottom, as this practise should be discouraged.
Add documentation for resources, external redirects and Rack applications.
2010-08-28 23:24:02 +02:00
Joost Baaij
4b14de72e1 The call-seq directive has no useful effect on our documentation and is not used anywhere else.
Worse still, its use breaks some rdoc, replacing method names with a curly brace.
Having just one call-seq directive doesn't add anything since this is covered by regular rdoc.
Having multiple might make sense, but these are already documented with examples.

This partly re-reverts 60de0e56b7f57f0052d7e4f43bd2ef9e363c6a1a but does not
touch the vendorized code in html-scanner.
2010-08-28 00:50:50 +02:00
Xavier Noria
dda515fc26 Merge remote branch 'docrails/master' 2010-08-28 00:01:55 +02:00
Joost Baaij
279c395723 Use common terminology 2010-08-27 23:50:23 +02:00
Xavier Noria
27d42a56b9 Revert "call-seq directive makes rdoc cry and replaces method names with a curly brace; besides it doesn't add anything when you only list one call example since this is obviously documented already"
Reason: Part of this commit touches vendorized stuff, the rest is fine, could you please repatch?

This reverts commit 60de0e56b7f57f0052d7e4f43bd2ef9e363c6a1a.
2010-08-27 23:30:52 +02:00
Xavier Noria
3b62667e77 solves everything in guides raised by WARNINGS=1 (except for one which is abandoned atm) 2010-08-27 23:27:29 +02:00
Xavier Noria
df367adba1 adds a comment in cli.rb so that it is clear that exec_script_rails! performs an exec call 2010-08-27 23:27:29 +02:00
Joost Baaij
4a56f8f314 escape constants that should not be linked to 2010-08-27 22:47:11 +02:00
Joost Baaij
76c569344b mention the alert and notice accessors on the flash 2010-08-27 22:45:35 +02:00
Joost Baaij
9f4d3a1ebe expand cookie examples with signed and permanent methods 2010-08-27 22:31:02 +02:00
Joost Baaij
60de0e56b7 call-seq directive makes rdoc cry and replaces method names with a curly brace; besides it doesn't add anything when you only list one call example since this is obviously documented already 2010-08-27 22:20:53 +02:00
Sam Aarons
04a8601d5e Fix em_mysql2 error in rake db:create
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-27 14:57:16 -03:00
José Valim
d0e067f61b Add missing require. 2010-08-27 14:56:58 -03:00
Santiago Pastorino
f95ba5c262 Make InstanceTagMethods#value_before_type_cast raise if the model don't respond to attr_before_type_cast or attr method
[#3374] [#5471 state:committed]
2010-08-27 09:08:04 -03:00
Jeremy Kemper
f98694b624 Ruby 1.9: be sure to explicitly reference toplevel constants within BasicObject deprecation proxies 2010-08-26 23:17:03 -07:00
Łukasz Strzałkowski
1ac20839a7 Fixed broken test suite - there was problem with namespacing in DeprecatedConstant class 2010-08-26 23:15:42 -07:00
wycats
8baba5f13e Fix a subtle bug involving RAILS_ROOT 2010-08-26 23:15:31 -07:00
wycats
dbb547a056 Fix up constant deprecation to be less dependent on load order 2010-08-26 23:11:52 -07:00
Carlos Antonio da Silva
0aefbe52a0 Removing some unuseful begin/end and refactor prompt_option_tag a bit
[#5469 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-27 01:18:42 -03:00
Jamison Dance
6398eba240 Merge branch 'master' of github.com:lifo/docrails 2010-08-26 21:20:22 -06:00
Jamison Dance
4d8158d9e5 fix sentence fragment in validates_associated caution 2010-08-26 17:48:42 -06:00
Xavier Noria
27edd3f8bc updates de title of the generators guide in the home and index 2010-08-27 00:17:04 +02:00
Xavier Noria
90a95be252 getting started guide: adds a reference to Michael Hartl's free online book in the what's next section 2010-08-26 23:49:06 +02:00
José Valim
625f7b5a5b Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) 2010-08-26 18:20:22 -03:00
José Valim
737abf25bb Doh, be sure to store the string modification. 2010-08-26 18:20:14 -03:00
Joost Baaij
6eed7b36a2 escape constant names 2010-08-26 23:10:00 +02:00
Joost Baaij
c28d46a92d Reflect how CSRF protection now works and refer to the Security Guide for more information 2010-08-26 23:03:30 +02:00
Joost Baaij
ca36326706 cleanup of ActionController::Metal inline documentation 2010-08-26 22:32:40 +02:00
Joost Baaij
930102968a Escape 'caching' when used in a sentence; remove unnessesary quotes 2010-08-26 21:58:57 +02:00
Joost Baaij
d3bc97050a Merge branch 'master' of github.com:lifo/docrails 2010-08-26 21:33:35 +02:00
Joost Baaij
80ae74dea7 Prevent any warnings from being printed during RDoc generation 2010-08-26 21:31:32 +02:00
James Miller
0631bf4baf Simplify render :partial 2010-08-26 12:27:44 -07:00
José Valim
818858ac1d Do not modify frozen strings in place. 2010-08-26 16:25:53 -03:00
James Miller
2bcac56ab4 Prefer modern idiom for rendering partials on a collection 2010-08-26 12:10:21 -07:00
José Valim
ca1f3a5596 Update CHANGELOG. 2010-08-26 16:07:54 -03:00
José Valim
66ef92272c Add clear_helpers as a way to clean up all helpers added to this controller, maintaing just the helper with the same name as the controller. 2010-08-26 16:07:54 -03:00
José Valim
84cab320bc Ensure templates like template.html are found but still uses the proper virtual path. 2010-08-26 16:07:54 -03:00
James Miller
a88fb2fd1b Getting started guide: typo 2010-08-26 10:00:11 -07:00