- 03 6月, 2010 32 次提交
-
-
由 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 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
-
由 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.
-
由 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]
-
由 Gonçalo Silva 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 José Valim 提交于
-
由 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>
-
由 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.
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Jaime Iniesta 提交于
-
由 Rohit Arondekar 提交于
-
由 Rohit Arondekar 提交于
-
- 26 5月, 2010 1 次提交
-
-
由 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 次提交
-
-
由 Xavier Noria 提交于
-
由 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>
-