Akira Matsuda
cb9fa52832
auto_link: avoid recognizing full width chars as a part of URI scheme
...
fixes regression by 133ada6ab0
[#5503 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2011-02-01 14:04:42 -02:00
Akira Matsuda
5dd803e9b1
Accept String value for render_partial :as option
...
[#6222 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2011-02-01 13:01:54 -02:00
John Firebaugh
57bc25c5f8
Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface.
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2011-01-31 19:45:53 -02:00
Neeraj Singh
806e6f80dc
render_to_string must ensure that response_body
...
is nil
[ #5875 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-25 20:14:03 +01:00
Neeraj Singh
c1145d9281
If I want to set respond_body to nil then it
...
should be nil and not [nil]. If anything other
than nil then wrap it in array
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-25 20:13:56 +01:00
Doug Fales
7927fc2ff7
A patch so that http status codes are still included in logs even during an exception [ #6333 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-25 20:12:22 +01:00
Aaron Patterson
3d6e223b84
use spec compliant YAML
2011-01-21 15:43:34 -08:00
brainopia
8491f16e12
Add tld_length option when using domain :all in cookies
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-21 13:13:51 +01:00
brainopia
91a4193ee0
Support list of possible domains for cookies
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-01-21 13:13:43 +01:00
José Valim
262b2ea8cd
Solve SystemStackError when changing locale inside ActionMailer [ #5329 state:resolved]
2011-01-19 23:42:10 +01:00
Aaron Patterson
36d6678690
removing usesless variable assignments
2011-01-18 15:52:56 -08:00
Aaron Patterson
54de7048a5
Merge branch 'template_error' into merge
...
* template_error:
Ensure original exception message is present in both Template::Error#message and Template::Error#inspect.
ActiveSupport::Deprecation.silence no longer needed.
2011-01-18 10:52:37 -08:00
Christos Trochalakis
7dab186fde
Issue one Cache#read command instead of two in the case of a fragment cache hit
2011-01-18 09:52:11 -08:00
Aaron Patterson
6a8f7f0e04
minitest added @__io__, so we should ignore it too
2011-01-17 14:53:44 -08:00
Aaron Patterson
1333020448
fixing space errors
2011-01-17 14:45:24 -08:00
Aaron Patterson
990e6a1b3a
fixing wrong test
2011-01-17 14:43:29 -08:00
Aaron Patterson
9702159373
removing more unused variables
2011-01-17 14:33:34 -08:00
Santiago Pastorino
1de47a0d56
button_tag should escape it content
2011-01-12 22:05:52 -02:00
Aaron Patterson
16ae08fff0
use raise to create exceptions and to set the backtrace
2011-01-12 11:15:11 -08:00
Aaron Patterson
1d9c555297
reraising should be in the rescue block
2011-01-12 11:15:10 -08:00
Santiago Pastorino
daada51d10
Reuse the view_context from the controller, this make the test environment more similar to the code applications uses
2011-01-12 16:47:56 -02:00
Santiago Pastorino
6062d434f1
Allow view in AV::TestCase to access it's controller helpers methods
2011-01-12 12:14:00 -02:00
Santiago Pastorino
a61e3acef2
html_safe.to_str makes no sense
2011-01-11 18:57:35 -02:00
Krekoten' Marjan
366e7854ac
Refactor to handle the X-Cascade without having to raise an exception
2011-01-09 16:08:54 -08:00
Jakub Kuźma
5106ce88e4
authenticity_token option for form_tag [ #2988 state:resolved]
2011-01-09 15:55:26 -08:00
John Allison
5d1d9bfb05
Improve select helpers by allowing a selected value of false. This is useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. f.select :allow_comments)
2011-01-09 15:45:55 -08:00
Rizwan Reza
18605adec3
HTML5 button_tag helper
...
This tag is similar in nature to submit_tag, but allows more control.
It also doesn't submit if submit type isn't used, allowing JavaScript to
control the flow where required.
For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
2011-01-09 15:22:23 -08:00
Santiago Pastorino
14198d84a9
Remove InstanceTagMethods module and define the methods inside the InstanceTag class
2011-01-09 13:35:38 -02:00
Pratik Naik
a8a704b07c
Bump rack-test version
2011-01-04 19:30:52 +00:00
Santiago Pastorino
171172f324
render :template is faster than render :file
2011-01-01 13:44:34 -02:00
Santiago Pastorino
9bc879d42a
This is not needed anymore
2011-01-01 13:20:00 -02:00
Piotr Sarnacki
27ea0481bb
Recreate symlink in layouts for tests
2010-12-31 14:22:27 +01:00
Piotr Sarnacki
8e5d91062f
Don't be so picky on MissingTemplate error details, this fails randomly on 1.8.7 because of not ordered hash
2010-12-31 11:17:37 +01:00
Nick Sutterer
4c44f0468a
added tests for the MissingTemplate exception message.
2010-12-31 10:41:19 +01:00
Timothy N. Tsvetkov
e5b84fd723
ActionController::Base.helpers.sanitize ignores case in protocol
...
[#6044 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-12-30 22:43:43 -02:00
Nick Sutterer
db24701abe
process_action accepts multiple args, even with Callbacks.
2010-12-29 16:37:10 -08:00
Xavier Noria
69765aad8b
Merge branch 'master' of git://github.com/lifo/docrails
2010-12-29 23:46:03 +01:00
Cheah Chu Yeow
6f58b9ad53
Fix typo in ActionPack changelog.
2010-12-29 19:36:00 +08:00
Cheah Chu Yeow
a21a3d1f44
Remove link to outdated Github tag comparison in ActionPack changelog.
2010-12-29 19:35:33 +08:00
José Valim
ecc83c1e6e
Clean up PathSet.
2010-12-27 10:15:54 +01:00
José Valim
6b099975fa
No need to symbolize these.
2010-12-27 09:30:36 +01:00
José Valim
51a7d9acdd
Final tidy up on templates inheritance.
2010-12-27 09:14:13 +01:00
wycats
e03e1fdbc8
Speed up template inheritance and remove template inheritance option
2010-12-26 23:56:09 -08:00
wycats
7c568fda6b
A bunch of cleanup on the inherited template patch
2010-12-26 23:44:51 -08:00
artemave
6c5a3bb312
all tests pass
2010-12-26 22:32:15 -08:00
artemave
ce21ea7832
#948 make template inheritance optional
2010-12-26 22:32:15 -08:00
artemave
ddd85ef9c6
#948 template_inheritance
2010-12-26 22:32:15 -08:00
Akira Matsuda
4e50c6c08a
.erb => .html.erb
2010-12-25 04:58:11 +09:00
Akira Matsuda
0a1f5f7511
for ... in => each ... do
2010-12-25 04:46:41 +09:00
Santiago Pastorino
2cbf948f25
Bump up rack-cache
2010-12-24 14:38:18 -02:00