Xavier Noria
bb4cf38fa6
minimal update to 3.0 release notes, will link to CHANGELOGS ultimately
2010-04-05 12:23:42 -07:00
Rizwan Reza
05dd19e217
Active Record Query Interface Guide: Added LIMIT so the query translates correctly.
2010-04-05 19:49:48 +04:30
Rizwan Reza
f5c54bce20
Routes Guide: Added Section on customizing path names for resources.
2010-04-05 19:37:49 +04:30
Jaime Iniesta
a0e4bb9b5c
Merge branch 'w3validations'
2010-04-05 16:19:16 +02:00
Jaime Iniesta
bc5e80c760
Changelogs: change link from credits page to home page for Jaime's contributions
2010-04-05 16:18:28 +02:00
Xavier Noria
9ed919eb0b
revises some <%= in rdoc
2010-04-05 02:51:26 -07:00
Xavier Noria
43d02dffcb
<% yield to <%= yield in rdoc of _layout_for, and copy-edits it now that we are on it
2010-04-05 02:16:24 -07:00
Ryan Bigg
9ed176d711
Covered further what happens in config/application.rb. Mostly bundler stuff.
2010-04-05 15:10:38 +10:00
Ryan Bigg
d2d5707854
Further expansion on the Railties and moved Common Includes section to the bottom.
2010-04-05 15:10:38 +10:00
Ryan Bigg
f141bedf16
Further (re)work done. Mostly centering around ActionMailer Railtie and Lazy Loading Hooks.
2010-04-05 15:10:38 +10:00
Rizwan Reza
181e4aac52
We don't need explicit :url => { :action => "create" } in form_for when following Rails conventions.
2010-04-05 06:45:15 +04:30
Xavier Noria
1a142fcd4d
Jaime is not an author by now
2010-04-04 14:16:37 -07:00
Xavier Noria
a1ab8e23f2
Revert "Added 'Rails Guides Reviewers' section to credits"
...
The credits page mentions the doc team and guide authors.
This reverts commit be72a397f8 .
2010-04-04 13:52:20 -07:00
Xavier Noria
723e91e9fd
Merge commit 'docrails/master'
2010-04-04 13:36:15 -07:00
wycats
b546945b51
Reapply redirect {|params, request| } with passing tests this time
2010-04-04 13:17:14 -07:00
Jeremy Kemper
50cdb654ac
Use call stack printer if available
2010-04-04 11:56:49 -07:00
Jeremy Kemper
3e5f5f2a48
Revert "Pass in the request as an optional second parameter to redirect"
...
Was not tested.
This reverts commit a8c3c71af1 .
2010-04-04 11:12:19 -07:00
Jeremy Kemper
e3959970e1
Fix signed cookies by explicitly passing config to the cookie jar
2010-04-04 11:10:00 -07:00
Kristopher Murata
ef84e691ff
Parameterize should accept malformed utf8 characters [ #4323 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-04-04 09:37:26 -07:00
Andrew White
00884a5901
Merge branch 'master' of github.com:lifo/docrails
2010-04-04 17:34:23 +01:00
Andrew White
48b2451142
Update various documentation examples to use new routing DSL
2010-04-04 17:34:13 +01:00
Xavier Noria
7d7e0627a0
fixes duplicate element IDs in some guides
2010-04-04 08:42:54 -07:00
Andrew White
98b4424141
Add tests to prevent regression of lazy evaluation of has_many ..., :dependent => :___
...
[#2627 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-04-04 07:00:24 -07:00
José Valim
b352b97ff5
No .DS_Store on .gitignore. Text editor files should be ignored in your ~/.gitignore.
2010-04-04 03:47:49 -07:00
Jaime Iniesta
a6dc000158
Replace <pre> by <shell>, <ruby> and <yaml> on plugins guide; making it validate XHTML 1.0 Strict
2010-04-04 12:43:19 +02:00
Jaime Iniesta
62fd691a7a
Fix XHTML on performance guide
2010-04-04 12:33:28 +02:00
Jaime Iniesta
532f1fe075
Move credits pic to new assets/image folder
2010-04-04 12:29:25 +02:00
Jaime Iniesta
2790ca620e
Merge branch 'w3validations'
2010-04-04 12:24:56 +02:00
Jaime Iniesta
395f171141
Fixed debugging guide to pass XHTML 1.0 Strict
2010-04-04 12:21:32 +02:00
Jaime Iniesta
af87232342
Fix testing guide so that it validates XHTML 1.0 Strict
2010-04-04 12:09:09 +02:00
Jaime Iniesta
be72a397f8
Added 'Rails Guides Reviewers' section to credits
2010-04-04 11:48:10 +02:00
Jaime Iniesta
96b70229d6
Updated changelog on getting_started and layouts_and_rendering
2010-04-04 11:44:54 +02:00
Jaime Iniesta
7f956af47f
Added .DS_Store to .gitignore
2010-04-04 11:32:47 +02:00
Xavier Noria
ac8b71cc20
guides assets are now centralized in the assets directory, with standard subdirs
2010-04-04 02:30:31 -07:00
Jaime Iniesta
8f5c3e5b6a
Fixing credits page so that it validates XHTML 1.0 Strict and adding myself to it
2010-04-04 11:28:25 +02:00
Aman Gupta
af89c58696
Use a constant proc to generate ActionView::Template finalizers. For some strange reason, finalizers created via ActionView::Template.finalizer_for cause Template instances to leak on MRI.
...
Signed-off-by: wycats <wycats@gmail.com >
2010-04-04 02:10:21 -07:00
Xavier Noria
c52bec77f5
sanity check arguments in guides generation collapsed into a single WARNINGS flag, EDGE_GUIDES renamed to EDGE to be coherent with the rest, preamble revised
2010-04-04 02:08:06 -07:00
Jaime Iniesta
8fa3183436
Fixed layouts_and_rendering guide so that it validates XHTML 1.0 Strict
2010-04-04 11:06:16 +02:00
wycats
a8c3c71af1
Pass in the request as an optional second parameter to redirect
2010-04-03 21:20:45 -07:00
wycats
ab8bf9e152
* Change the object used in routing constraints to be an instance of
...
ActionDispatch::Request rather than Rack::Request.
* Changed ActionDispatch::Request#method to return a String, to be
compatible with the Rack::Request superclass.
* Changed ActionDispatch::Request#method to return the original
method in the case of methodoverride and #request_method not to,
to be compatible with Rack::Request
2010-04-03 20:24:30 -07:00
Santiago Pastorino
8f9becb426
:action => "create" added to form_for with name only to show appropiate behavior
2010-04-03 18:36:29 -03:00
Santiago Pastorino
10ad15861f
:action => "update" used in a non RESTful way confuses
2010-04-03 18:22:58 -03:00
Xavier Noria
512b4bccfb
adds a preamble to the guides generator, documents what it does and the environment variables it supports
2010-04-03 12:08:47 -07:00
Xavier Noria
11161e6c96
Merge commit 'rails/master'
2010-04-03 10:56:15 -07:00
Carl Lerche
467d251c3d
Bring back +extra_conditions+. This effectively reverts 386b7bfd9d
2010-04-03 09:54:15 -07:00
Carl Lerche
6e18fa0375
Raise a StatementInvalid error when trying to build a condition with hash keys that do not correspond to columns.
2010-04-03 09:22:00 -07:00
Carl Lerche
52ffaa182e
Sanitize association conditions using the correct class
2010-04-03 09:22:00 -07:00
wycats
3eb97531b8
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
2010-04-03 02:44:02 -07:00
Carl Lerche
13004d4f84
Make the query built by has_many ...., :dependent => :____ lazy since all the information is not really available yet.
2010-04-02 22:33:57 -07:00
Carl Lerche
386b7bfd9d
Remove an unused argument
2010-04-02 20:13:09 -07:00