- 05 4月, 2010 4 次提交
-
-
由 José Valim 提交于
Rename config.cookie_secret to config.secret_token and pass it as configuration in request.env. This is another step forward removing global configuration.
-
由 wycats 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
- 04 4月, 2010 1 次提交
-
-
由 wycats 提交于
ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request
-
- 03 4月, 2010 3 次提交
-
-
由 wycats 提交于
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
-
由 wycats 提交于
-
由 José Valim 提交于
Maintain the usage of :as consistent in the router. Whenever it's supplied, it changes the NAMED ROUTE. If you want to change the PATH, use :path instead. Example: resources :projects, :path => 'projetos'
-
- 01 4月, 2010 2 次提交
-
-
由 Bernardo de Pádua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
HTML safety: give a deprecation warning if an array of option tags is passed to select tag. Be sure to join the tag yourself and mark them .html_safe
-
- 31 3月, 2010 4 次提交
-
-
由 José Valim 提交于
Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing signed cookies to work again.
-
由 José Valim 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 29 3月, 2010 7 次提交
-
-
由 wycats 提交于
-
由 Craig R Webster 提交于
Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Rizwan Reza 提交于
-
由 Jan De Poorter 提交于
Signed-off-by: NRizwan Reza <rizwanreza@gmail.com>
-
由 Paco Guzman 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 wycats 提交于
it to return a String. Split the Rails API so that Request#content_type returns a String, and Request#content_mime_type returns a Mime::Type object.
-
由 Andrew White 提交于
Signed-off-by: NRizwan Reza <rizwanreza@gmail.com>
-
- 27 3月, 2010 5 次提交
-
-
由 wycats 提交于
Fixes a bug where error_messages_for was returning an empty div [#4048 state:resolved] (ht: Geoff Garside)
-
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Andrew White 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Rizwan Reza 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Andrew White 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 26 3月, 2010 1 次提交
-
-
由 José Valim 提交于
Rails router automatically calculated for you the controller and named routes in the following scenarios: match "home/about" #=> maps to home#about with named route home_about_path match "about" #=> does not work because it cannot guess the controller match "about" => "home#about" #=> maps to home#about with named route home_about_path match "home/about", :as => "about" #=> maps to home#about with named route about_path
-
- 23 3月, 2010 6 次提交
-
-
由 wycats 提交于
At this point, its entire purpose in the open_session {} case was to delegate back to the IntegrationTest anyway.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Bernardo de Pádua 提交于
NumberHelper methods should now return html_safe strings (when the inputs are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Bernardo de Pádua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
- 20 3月, 2010 2 次提交
-
-
由 wycats 提交于
-
由 José Valim 提交于
Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified.
-
- 19 3月, 2010 4 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
- 18 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-