- 13 12月, 2011 5 次提交
-
-
由 Aaron Patterson 提交于
-
由 Erik Michaels-Ober 提交于
Allow autoloading to work as intended and avoid multiple requires.
-
由 José Valim 提交于
This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
-
由 José Valim 提交于
-
由 Piotrek Okoński 提交于
-
- 12 12月, 2011 1 次提交
-
-
由 Lennart Fridén 提交于
Added use_two_digit_numbers select_tag option for displaying months and days with leading zeros without affecting the values (useful for e.g. ISO-style dates, 2011-08-01). Signed-off-by: NJosé Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
-
- 11 12月, 2011 2 次提交
-
-
由 Will Farrington 提交于
This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
-
由 Guillermo Iguaran 提交于
Is wrong use ProcessedAsset#to_s since it returns the content of the file.
-
- 10 12月, 2011 4 次提交
-
-
由 Piotr Sarnacki 提交于
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
-
由 David Heinemeier Hansson 提交于
Make ActiveSupport::Benchmarkable a default module for ActionController::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*
-
- 09 12月, 2011 8 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 08 12月, 2011 10 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 kennyj 提交于
-
由 Jean-Francois Turcot 提交于
-
由 José Valim 提交于
-
由 Jean-Francois Turcot 提交于
-
由 José Valim 提交于
-
由 kennyj 提交于
-
- 07 12月, 2011 4 次提交
-
-
由 kennyj 提交于
-
由 kennyj 提交于
-
由 Prem Sichanugrist 提交于
Rails will now use your default layout (such as "layouts/application") when you specify a layout with `:only` and `:except` condition, and those conditions fail. For example, consider this snippet: class CarsController layout 'single_car', :only => :show end Rails will use 'layouts/single_car' when a request comes in `:show` action, and use 'layouts/application' (or 'layouts/cars', if exists) when a request comes in for any other actions.
-
由 Prem Sichanugrist 提交于
Currently if you're do this: assert_template :layout => "foo" Regardless of what layout you were using, the test will always pass. This was broken since the introduction of :layout option in [d9375f3f]. We have a lot of test cases in actionpack/test/controller/layout_test.rb that use this feature. This will make sure that those test cases are not true negative.
-
- 06 12月, 2011 6 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Thomas von Deyen 提交于
-
由 Adrian Pike 提交于
Let's do the same trick for asset_path that we do for [image,javascript,stylesheet]_path to avoid namespace conflicts on named routes. Closes #3427
-
由 Uģis Ozols 提交于
-
由 Uģis Ozols 提交于
-
由 lest 提交于
-