Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed that fragment caching should return a cache hit as html_safe (or it ↵ | David Heinemeier Hansson | 2010-01-07 | 1 | -1/+1 | |
| | | | | would all just get escaped) [DHH] | |||||
* | Ensure that segments in default_url_options also work with format specified. | José Valim | 2010-01-07 | 1 | -2/+2 | |
| | ||||||
* | From now on, parameters defined in default_url_options can be absent from ↵ | José Valim | 2010-01-07 | 2 | -21/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views. | |||||
* | Remove duplicated url_for code and move methods shared between ActionMailer ↵ | José Valim | 2010-01-07 | 7 | -211/+216 | |
| | | | | and ActionController up to AbstractController. | |||||
* | Updated the documentation for helpers.label. | José Valim | 2010-01-07 | 1 | -3/+3 | |
| | ||||||
* | Use helpers.label instead of views.labels. | José Valim | 2010-01-07 | 3 | -3/+3 | |
| | ||||||
* | errors in ActionView should not be namespaced as well. | José Valim | 2010-01-07 | 2 | -9/+8 | |
| | ||||||
* | namespace in routes changes both the path and name prefix. | José Valim | 2010-01-06 | 1 | -1/+1 | |
| | ||||||
* | Allow named routes to be debugged. | José Valim | 2010-01-06 | 1 | -23/+20 | |
| | ||||||
* | Ruby 1.9.1 requires hash given to foormat to contain symbols. | José Valim | 2010-01-06 | 1 | -1/+1 | |
| | ||||||
* | Remove CGI.escape in function of Rack::Mount.escape | José Valim | 2010-01-06 | 3 | -8/+8 | |
| | ||||||
* | redirect in routes takes port into account [#3653 status:resolved] | José Valim | 2010-01-05 | 1 | -0/+1 | |
| | ||||||
* | All router redirect helper to accept a full URI [#3653 state:resolved] | Joshua Peek | 2010-01-05 | 1 | -5/+13 | |
| | ||||||
* | assert_template depends on AV::Template monkey patches in action_view/test_case | Joshua Peek | 2010-01-05 | 1 | -0/+9 | |
| | ||||||
* | NumberHelper#number_to_currency should output html_safe strings so the units ↵ | David Heinemeier Hansson | 2010-01-05 | 1 | -1/+1 | |
| | | | | are not escaped | |||||
* | Controller tests should always require view tests since they add behavior ↵ | Jeremy Kemper | 2010-01-04 | 1 | -0/+1 | |
| | | | | controllers expect | |||||
* | Trash string coercion rack hacks | Joshua Peek | 2010-01-04 | 2 | -30/+0 | |
| | ||||||
* | Default middleware stack needs to be available at configuration time | Joshua Peek | 2010-01-04 | 1 | -20/+0 | |
| | ||||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 3 | -4/+0 | |
| | ||||||
* | Autoload AC and AV test case classes | Joshua Peek | 2010-01-04 | 4 | -5/+7 | |
| | ||||||
* | @_formats initialization should be AbstractController::Base. | José Valim | 2010-01-04 | 3 | -7/+6 | |
| | ||||||
* | Remove deprecated formatted named routes | José Valim | 2010-01-04 | 1 | -8/+0 | |
| | ||||||
* | adding fix for auto linking to master too | Zach Brock | 2010-01-05 | 1 | -1/+1 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Merge | David Heinemeier Hansson | 2010-01-03 | 10 | -24/+90 | |
|\ | ||||||
| * | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 6 | -10/+10 | |
| | | ||||||
| * | Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵ | José Valim | 2010-01-03 | 1 | -2/+22 | |
| | | | | | | | | hooks for plugins like ExceptionNotifier. | |||||
| * | Use namespaces in notifications. | José Valim | 2010-01-03 | 6 | -18/+27 | |
| | | ||||||
| * | fixed missing or incorrect session data error message | Stefan Penner | 2010-01-02 | 1 | -1/+1 | |
| | | ||||||
| * | Silence warnings | Mikel Lindsaar | 2010-01-02 | 1 | -0/+1 | |
| | | ||||||
| * | Do not enforce human_attribute_name as required API. | José Valim | 2010-01-02 | 1 | -3/+6 | |
| | | ||||||
| * | I18n label helper [#745 status:resolved] | Carsten Gehling | 2010-01-02 | 1 | -3/+36 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Added that ActionController::Base now does helper :all instead of relying on ↵ | David Heinemeier Hansson | 2010-01-03 | 1 | -0/+2 | |
|/ | | | | the default ApplicationController in Rails to do it [DHH] | |||||
* | Make rendering in ActionView happen through _render_template, as the ↵ | José Valim | 2009-12-31 | 1 | -30/+14 | |
| | | | | rendering which comes from ActionController. | |||||
* | Expose a _render_partial hook as thhe _render_template one and make use of it. | José Valim | 2009-12-31 | 2 | -11/+15 | |
| | ||||||
* | ActionController::Logger should include AbstractController::Logger and sort ↵ | José Valim | 2009-12-31 | 3 | -8/+11 | |
| | | | | autoloads for easier readability. | |||||
* | controller_path is required by ActionView, so move it up to ↵ | José Valim | 2009-12-31 | 6 | -190/+173 | |
| | | | | AbstractController and refactor AbstractController::Layouts. | |||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 2 | -1/+1 | |
| | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin | |||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 2 | -1/+3 | |
| | ||||||
* | Add a /rails.rb for each framework for consistency | Carl Lerche | 2009-12-31 | 2 | -0/+3 | |
| | ||||||
* | Revert "Add config.action_controller.include behavior to plugins." | Jeremy Kemper | 2009-12-30 | 1 | -2/+1 | |
| | | | | | | | | This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e. Conflicts: railties/lib/rails/plugin.rb | |||||
* | Partially revert "ActionDispatch should require as little of ActiveSupport ↵ | Jeremy Kemper | 2009-12-30 | 1 | -0/+2 | |
| | | | | | | as possible" Removes load path change from commit bb153f42e45160c5ef3593c393db5d3c6857fb70. | |||||
* | ActionDispatch should require as little of ActiveSupport as possible | Carl Lerche | 2009-12-30 | 1 | -3/+1 | |
| | ||||||
* | Use extlib_inheritable_accessor in request_forgery_protection.rb. | Carl Lerche | 2009-12-29 | 1 | -1/+1 | |
| | | | For some reason the current class_inheritable_accessor does not play nice with included hooks. class_inheritable_accessor will be revised shortly. | |||||
* | Make sure evalled method knows where it came from | Yehuda Katz | 2009-12-29 | 1 | -2/+2 | |
| | ||||||
* | Complain if there's no such middleware | Jeremy Kemper | 2009-12-28 | 1 | -2/+3 | |
| | ||||||
* | Require active_support/dependencies/autoload in action_dispatch | Carl Lerche | 2009-12-28 | 1 | -0/+1 | |
| | ||||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 9 | -202/+197 | |
| | ||||||
* | Ruby 1.9: string is not enumerable, so #exclude? is not available | Jeremy Kemper | 2009-12-27 | 1 | -5/+3 | |
| | ||||||
* | Typo | Jeremy Kemper | 2009-12-27 | 1 | -1/+1 | |
| | ||||||
* | Require the enumberable extension from active support because we use #exclude? | David Heinemeier Hansson | 2009-12-27 | 1 | -0/+2 | |
| |