- 30 5月, 2010 1 次提交
-
-
由 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.
-
- 29 5月, 2010 3 次提交
-
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
-
由 Gonçalo Silva 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 28 5月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 27 5月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 26 5月, 2010 4 次提交
-
-
由 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>
-
由 Elomar França 提交于
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 18 次提交
-
-
由 Xavier Noria 提交于
-
由 Josiah Ivey 提交于
-
由 David Chelimsky 提交于
-
由 jacortinas 提交于
A small rdoc change made on lines 39 and 41 on activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name.
-
由 Ryan Bigg 提交于
Cover more of the Rails initialization process, regarding the internals of YourApp::Application inheritance from Rails::Application and more.
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
[#4633] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 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>
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
- 24 5月, 2010 7 次提交
-
-
由 José Valim 提交于
-
由 Mislav Marohnić 提交于
e.g. it guesses that a belongs_to association to Namespace::MyModel is named "my_model", unlike before where it would look up an association named "namespace::mymodel" and fail.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 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]
-
由 Mislav Marohnić 提交于
recognizes all URI scheme allowed characters, such as colon and period. [#3494 state:resolved]
-
由 Jeremy Kemper 提交于
-
- 23 5月, 2010 1 次提交
-
-
由 José Valim 提交于
Fix a bug where I18n fallbacks modules where not included in the proper backend if it was set through config.i18n.backend.
-
- 22 5月, 2010 1 次提交
-
-
由 Norman Clarke 提交于
Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 21 5月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 Neeraj Singh 提交于
[#4656 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#4654 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-