aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Correctly display rack apps with dynamic constraints in RoutesInspectorPiotr Sarnacki2011-12-261-1/+1
| | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
* Remove unecessary config_accessors.José Valim2011-12-243-11/+5
|
* Provide a class optin for page_cache_compression.José Valim2011-12-241-17/+20
|
* Gzip files on page cachingAndrey A.I. Sitnik2011-12-241-4/+28
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove broken #compute_source_pathJeremy Kemper2011-12-231-5/+0
|
* raises an ArgumentError if no valid options are given to ↵Lucas Mazza2011-12-211-0/+2
| | | | | | TemplateRenderer#determine_template Signed-off-by: José Valim <jose.valim@gmail.com>
* Check for response to `#last` instead of `#first`.Brian Rose2011-12-201-1/+1
|
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-1/+1
|
* Merge pull request #4064 from nashby/date-helper-field-error-procJosé Valim2011-12-203-11/+11
|\ | | | | fix adding field_with_errors to date selects, closes #3487
| * fix adding field_with_errors to date selects, closes #3487Vasiliy Ermolovich2011-12-203-11/+11
| |
* | Add a test case for layout nil.José Valim2011-12-201-1/+2
| |
* | Check if source is encoding aware.José Valim2011-12-201-32/+30
| |
* | Do not hard code encoding to UTF8José Valim2011-12-202-48/+54
| |
* | don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Party like its R-C-UNO!David Heinemeier Hansson2011-12-191-1/+1
|/
* add help text to routing errorschneems2011-12-171-8/+13
| | | | | | When a newcomer hits the routing error page they are often confused about how to trouble shoot the next step. Adding a simple help text can gently remind coders where to get more help.
* Allow symbols to be passed for extension aliasesJustin Campbell2011-12-171-1/+1
|
* Merge pull request #3780 from marcbowes/masterVijay Dev2011-12-161-7/+3
|\ | | | | Fix favicon_link_tag help text
| * * A `/` is required if you want to explicitly skip the assets directory. ↵Marc Bowes2011-11-281-7/+3
| | | | | | | | | | This is important because `public/assets` is typically git-ignored. * The asset id is no longer generated.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-161-3/+3
|\ \
| * | escape assigns[:person], assigns[person] etc in actioncontroller testcaseNick Howard2011-12-141-3/+3
| | |
* | | Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-161-1/+9
| | | | | | | | | | | | production.
* | | Do not raise an exception if an invalid route was generated automatically.José Valim2011-12-161-3/+11
| | |
* | | ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-163-6/+16
| | |
* | | Improve the specs on exceptions app.José Valim2011-12-161-1/+6
| | |
* | | Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-163-33/+49
| | |
* | | Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-165-28/+0
| | |
* | | Fix diagnostics page for routing errors.José Valim2011-12-152-9/+2
| | |
* | | Remove autoload for non-existent file.Uģis Ozols2011-12-151-1/+0
| | |
* | | fix separator insertion in date_select helperSergey Nartimov2011-12-141-1/+2
| | |
* | | Close the response body on cascade pass, closes #3975.José Valim2011-12-141-0/+2
| | |
* | | Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-141-1/+1
| | | | | | | | | | | | * 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-141-0/+4
| | |
* | | 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-131-1/+4
|\ \ | | | | | | log exception backtrace when all backtrace lines silenced
| * | log exception backtrace when all backtrace lines silencedSergey Nartimov2011-12-131-1/+4
| | |
* | | 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
|/ /
* | use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-121-3/+3
| | | | | | | | 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.
* | | Allow reloader to be configured.José Valim2011-12-121-14/+38
| | |
* | | 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-111-3/+6
| | | | | | | | | | | | | | | | | | | | 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-112-0/+39
|\ \ | | | | | | Add button_tag support to ActionView::Helpers::FormBuilder
| * | Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-112-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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