José Valim
645f515843
Add a note to TextHelpers making explicit their default behavior of not escaping but sanitizing.
2010-11-08 01:47:49 -08:00
Ryan Bigg
b591989b5f
Fix indentation for :as option documentation on the namespace method
2010-11-07 12:22:39 +10:00
Ryan Bigg
ff3a494e2e
Document the :shallow_path option for scope
2010-11-07 12:21:56 +10:00
Ryan Bigg
e6aed6b6a8
Indent final comment for :path option
2010-11-07 12:18:19 +10:00
Ryan Bigg
ee646788fc
Indent code example for :as option
2010-11-07 12:17:36 +10:00
Ryan Bigg
7d83673134
Document the :as option for the scope method
2010-11-07 12:11:39 +10:00
Ryan Bigg
ffe97e338e
Space between module option documentation and path documentation
2010-11-07 12:09:58 +10:00
Ryan Bigg
4a6150a3eb
Fix indentation on comment for :path option
2010-11-07 12:09:38 +10:00
Ryan Bigg
6ca042b3e4
Document the :as option for the namespace method
2010-11-07 12:07:41 +10:00
Ryan Bigg
66d1276d7f
Document the :module option for namespace
2010-11-07 12:05:55 +10:00
Ryan Bigg
0eef4e3bfb
Document the :path option for namespace
2010-11-07 12:05:14 +10:00
Ryan Bigg
379939e1e0
Begin to document the namespace method for AD's Mapper
2010-11-07 12:04:25 +10:00
Ryan Bigg
e5eece41b5
Document the controller method for AD's Mapper
2010-11-07 11:49:57 +10:00
Ryan Bigg
5f7f3adccd
Document the defaults method
2010-11-07 11:39:57 +10:00
Ryan Bigg
5040ecbfea
Document the :module and :path options for the scope method.
2010-11-07 11:39:55 +10:00
Ryan Bigg
35c7ca5c37
Separate comments and examples with "Examples" header.
2010-11-07 11:39:53 +10:00
Ryan Bigg
433e1aca86
Fix where the documentation says "photos", but the example shows "posts" or "comments" by switching both to simply "posts"
2010-11-07 11:39:50 +10:00
Ryan Bigg
203e45cd7f
Add further documentation + examples for the get, post, put and delete methods in ActionDispatch::Routing::Mapper::HttpHelpers
2010-11-07 11:39:27 +10:00
Andrew White
47ceb135c6
Ensure that Rails.env is defined first
2010-10-27 10:30:14 +01:00
José Valim
2a90a4e51c
Use latest I18n.
2010-10-26 18:17:11 -02:00
Jeremy Kemper
0dfdbdd4f4
Fix loop introduced by rack:dda892d
2010-10-26 11:31:05 -07:00
José Valim
69a1a0adb5
Remove rack-cache-purge.
2010-10-26 14:05:06 -02:00
Andrew White
4ba24ba043
Allow generated url helpers to be overriden [ #5243 state:resolved]
2010-10-26 14:27:18 +01:00
Andrew White
2d5a12a50b
Don't write out secure cookies unless the request is secure
2010-10-25 16:36:35 +01:00
Santiago Pastorino
d3d724bb88
Remove this require since active_support/testing/default doesn't exist anymore
2010-10-20 12:50:31 -02:00
Xavier Noria
d619b9d1d1
Merge branch 'master' of git://github.com/lifo/docrails
2010-10-19 23:07:29 +02:00
Xavier Noria
95d87823d4
rewords a little the RDoc of the tag helper
2010-10-19 22:59:03 +02:00
Xavier Noria
de3603c255
adds the new :data idiom in tag helpers to the CHANGELOG
2010-10-19 10:13:26 +02:00
Stephen Celis & Xavier Noria
cfcef34bb5
Additional documentation for data-* attributes.
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-10-19 10:12:27 +02:00
Aaron Patterson
541ed2b60d
avoid a few comparisons
2010-10-18 16:11:27 -07:00
Krekoten' Marjan
a75d21df06
Fix status initialization when custom status provided
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-10-18 17:34:22 -02:00
Krekoten' Marjan
608bf7b72c
AC::Caching DRYup
...
Remove ActionController::Caching::Pages#caching_allowed
because it duplicates ActionController::Caching#caching_allowed?
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-10-18 17:30:28 -02:00
Aaron Patterson
19c144f1b3
remove strange else block
2010-10-18 10:31:21 -07:00
Aaron Patterson
ca59ec354e
skip extra work if no text or phrase was provided
2010-10-18 10:28:56 -07:00
Aaron Patterson
dda81cb177
lets not invert the hash on every iteration through this loop
2010-10-18 10:21:15 -07:00
Aaron Patterson
132f3e2d37
use -= in place of the expanded form
2010-10-18 10:11:32 -07:00
Aaron Patterson
a0a5a2a275
implicitly return nil if there is no number
2010-10-18 10:01:26 -07:00
Aaron Patterson
98d3c41cfb
implicit return of nil
2010-10-18 09:58:18 -07:00
Aaron Patterson
9c219bf361
use regex escape sequences to shorten stuff up
2010-10-18 09:57:24 -07:00
Aaron Patterson
081e15f104
join strings rather than resizing buffer
2010-10-18 09:53:01 -07:00
Santiago Pastorino
330327eeec
Call html_escape in ERB::Util module and don't mix it in in the helpers
2010-10-18 13:59:56 -02:00
Santiago Pastorino
901973b4d7
Invoke html_escape on the proper receiver
2010-10-18 12:29:03 -02:00
Santiago Pastorino
460c4efd71
Merge CHANGELOGs from 3-0-stable
2010-10-18 12:24:41 -02:00
Santiago Pastorino
31ac1db596
Tidy up a bit this code
2010-10-18 09:49:04 -02:00
Santiago Pastorino
1a0f72d0e3
Why strip only the extension, this can be done by the user
2010-10-18 09:48:24 -02:00
Santiago Pastorino
dfb3ff6698
This or login doesn't make sense
2010-10-18 09:47:21 -02:00
Santiago Pastorino
dc33cd6208
Use unless instead of if nil?
2010-10-18 09:45:37 -02:00
Santiago Pastorino
5f60735194
Add missing require
2010-10-18 08:39:20 -02:00
Andrew White
f7573175de
Reset assert_template instance variables between requests [ #5832 state:resolved]
2010-10-18 09:57:51 +01:00
Krekoten' Marjan
7b2ec381ca
Change def to attr_reader + alias
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-10-18 00:54:58 +02:00