- 07 6月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 06 6月, 2010 3 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 05 6月, 2010 6 次提交
- 03 6月, 2010 4 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 José Valim 提交于
-
由 David Heinemeier Hansson 提交于
-
由 wycats 提交于
-
- 02 6月, 2010 2 次提交
-
-
由 Xavier Noria 提交于
-
由 David Heinemeier Hansson 提交于
-
- 01 6月, 2010 3 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 David Heinemeier Hansson 提交于
-
- 31 5月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 30 5月, 2010 7 次提交
-
-
由 José Valim 提交于
you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
-
由 wycats 提交于
-
由 wycats 提交于
-
由 José Valim 提交于
-
由 wycats 提交于
Now that we always return a proxy from mb_chars, even in 1.9, all Strings coming back from AS are UTF-8.
-
由 Santiago Pastorino 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 wycats 提交于
If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
-
- 26 5月, 2010 3 次提交
-
-
由 David Chelimsky 提交于
_helper module included in the view. - ensures that protect_against_forgery? is present when a helper included in a partial that is rendered by the template under test calls it (which happens in FormTagHelper#extra_tags_for_form, for example). [#4700 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 David Chelimsky 提交于
- decouple tests from the test case class by moving them outside - split out more TestCase subs as cleaner way of avoiding bleed of class level concepts Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 David Chelimsky 提交于
ActionView::TestCase::TestController without stubs. Just say: @controller.controller_path = "path/i/need/for/this/test" [#4697 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 5月, 2010 7 次提交
-
-
由 David Chelimsky 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Revert "translation method for arrays on TranslationHelper module returns an array where values for keys of the form (.|_)html keys are html_safe" This reverts commit 05c95b5c. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 David Chelimsky 提交于
- enables alternative testing frameworks to include AV::TC::Behavior instead of subclassing AV::TC - also added tests and code for: - test view delegates :notice to request.flash - useful since generators generate views that use notice - test case doesn't try to include modules that are actually classes Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
translation method for arrays on TranslationHelper module returns an array where values for keys of the form (.|_)html keys are html_safe [#4675] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 24 5月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 Mislav Marohnić 提交于
References #1523 [#1862 state:resolved] [#3591 state:resolved] Add test that shows how link text can contain HTML if needed: the trick is using block form in combination with `raw`. Let link text be automatically HTML-escaped [#2017 state:resolved]
-