aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* | | fix separator insertion in date_select helperSergey Nartimov2011-12-142-1/+21
| | |
* | | Close the response body on cascade pass, closes #3975.José Valim2011-12-142-3/+24
| | |
* | | Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-142-1/+9
| | | | | | | | | | | | * e.g. blog_url(subdomain: current_user) instead of blog_url(subdomain: current_user.to_param)
* | | Clean up details keys before some tests to expire the cache.José Valim2011-12-143-7/+9
| | |
* | | dup the details hash if a key has already been set for this objectAaron Patterson2011-12-131-0/+1
|/ /
* | Merge pull request #3970 from lest/backtrace-when-silencedJosé Valim2011-12-132-1/+17
|\ \ | | | | | | log exception backtrace when all backtrace lines silenced
| * | log exception backtrace when all backtrace lines silencedSergey Nartimov2011-12-132-1/+17
| | |
* | | locale and default_locale may be the same, so uniq the arrayAaron Patterson2011-12-131-1/+1
| | |
* | | stop freezing the details hashAaron Patterson2011-12-131-2/+1
| | |
* | | stop freezing hash valueAaron Patterson2011-12-131-1/+1
|/ /
* | Fix failing AP tests.José Valim2011-12-131-1/+1
| |
* | use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-122-3/+12
| | | | | | | | Fixes #3957
* | logger adds a newline for usAaron Patterson2011-12-121-1/+0
| |
* | Merge pull request #3943 from sferik/add_explicit_requiresJosé Valim2011-12-122-2/+1
|\ \ | | | | | | Include TagHelper but don't explicitly require it
| * | Include TagHelper but don't explicitly require itErik Michaels-Ober2011-12-122-2/+1
| | | | | | | | | | | | Allow autoloading to work as intended and avoid multiple requires.
* | | Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Allow reloader to be configured.José Valim2011-12-122-14/+51
| | |
* | | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-122-1/+2
|/ /
* | Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-113-4/+27
| | | | | | | | | | | | | | | | | | | | 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: José Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
* | Merge pull request #3933 from wfarr/masterJosé Valim2011-12-114-1/+52
|\ \ | | | | | | Add button_tag support to ActionView::Helpers::FormBuilder
| * | Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-114-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
* | | Use ProcessedAsset#pathname in Sprockets helpers when debugging is on. ↵Guillermo Iguaran2011-12-101-3/+3
|/ / | | | | | | | | | | Closes #3333 #3348 #3361. Is wrong use ProcessedAsset#to_s since it returns the content of the file.
* | Update partials documentation, partial_path is no longer generated using ↵Piotr Sarnacki2011-12-101-10/+13
| | | | | | | | RecordIdentifier
* | Fix extend -> include.José Valim2011-12-092-3/+1
| |
* | only load converter if the encodings are differentAaron Patterson2011-12-091-1/+1
| |
* | Make ActiveSupport::Benchmarkable a default module for ↵David Heinemeier Hansson2011-12-092-0/+4
| | | | | | | | ActionController::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*
* | Deprecate implicit layout lookup in favor of inheriting the _layout config.José Valim2011-12-093-34/+101
| |
* | Simplify path traversal logicJosé Valim2011-12-091-7/+7
| |
* | load the encoding converter to work around [ruby-core:41556] when switching ↵Aaron Patterson2011-12-083-115/+1
| | | | | | | | encodings
* | Fix another regression related to the layout optimization.José Valim2011-12-082-1/+27
| |
* | Move symbolize keys to the inner options as we can assume url_options will ↵José Valim2011-12-082-2/+2
| | | | | | | | be properly symbolized.
* | Fix a regression and also fix broken test.José Valim2011-12-082-9/+14
| |
* | Improve cache on route_key lookup.José Valim2011-12-081-4/+6
| |
* | Revert accidental change from cattr_accessor to class_attribute.José Valim2011-12-081-1/+1
| |
* | Merge pull request #3906 from kennyj/fix_warnings_for_params_wrapper_testJosé Valim2011-12-081-1/+1
|\ \ | | | | | | Fix warning for params_wrapper_test.rb
| * | Fix warning for params_wrapper_test.kennyj2011-12-081-1/+1
| | |
* | | Just use the proc if there is a chance of layout lookup.José Valim2011-12-081-5/+6
| | |
* | | Optimize layout lookup to avoid double calls.José Valim2011-12-084-33/+41
| | |
* | | Some small optimizations and improvements to benchmark code.José Valim2011-12-084-17/+15
| | |
* | | Add performance scripts from wycats/rails-simple-benches to actionpack.José Valim2011-12-089-0/+216
|/ /
* | Merge pull request #3900 from jfturcot/accessible_wrap_paramsJosé Valim2011-12-083-2/+41
|\ \ | | | | | | ParamsWrapper only wrap the accessible attributes when they were set
| * | Add information to the changelog about the changes to ↵Jean-Francois Turcot2011-12-081-0/+5
| | | | | | | | | | | | ActionController::ParamsWrapper
| * | ParamsWrapper only wrap the accessible attributes when they were setJean-Francois Turcot2011-12-072-2/+36
| | |
* | | Remove dead broken code from AD::RequestJosé Valim2011-12-081-8/+0
| | |
* | | Merge pull request #3888 from kennyj/should_use_default_charsetJosé Valim2011-12-081-0/+1
|\ \ \ | |/ / |/| | Assign config.encoding to AD::Response.default_charset at the initialization time.
| * | Assign config.encoding to AD::Response.default_charset at the initialization ↵kennyj2011-12-071-0/+1
| | | | | | | | | | | | time.
* | | Remove #:nodoc: from partial renderer.José Valim2011-12-071-1/+1
| | |
* | | Use freezed string constant. Some string literals is used repeatedly.kennyj2011-12-083-24/+40
| | |
* | | Merge pull request #3884 from sikachu/master-fix_layoutJosé Valim2011-12-076-40/+125
|\ \ \ | | | | | | | | Allow layout fallback when using `layout` method
| * | | Allow layout fallback when using `layout` methodPrem Sichanugrist2011-12-063-26/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.