Commit Graph

18068 Commits

Author SHA1 Message Date
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 60de0e56b7 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 60de0e56b7.
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
James Miller
8e3d23dea2 Link to gembundler.com instead of Github repo 2010-08-26 09:55:18 -07:00
Xavier Noria
68ba59fdbd Merge remote branch 'rails/master' 2010-08-26 17:38:53 +02:00
Xavier Noria
d728f08580 getting started guide: revises text wrt bundler 2010-08-26 15:58:19 +02:00
Xavier Noria
5e0b70e6b5 revises a few link texts 2010-08-26 15:54:53 +02:00
Xavier Noria
c1b5e2a2d5 Merge remote branch 'rails/master' 2010-08-26 14:26:42 +02:00
Jaime Iniesta
e72406e2ba change 'a SQL' to 'an SQL' as suggested by the api documentation guidelines 2010-08-26 14:23:58 +02:00
Jaime Iniesta
5430f5bd06 lifecycle should be two words, life cycle 2010-08-26 14:23:58 +02:00