Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure option for select helper responds to `#first` before comparison. | Brian Rose | 2011-12-20 | 1 | -0/+18 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge pull request #4033 from nashby/date-helper-field-error-proc | José Valim | 2011-12-20 | 1 | -1/+24 |
|\ | | | | | add failing tests for issue #3487 | ||||
| * | add failing tests for issue #3487 | Vasiliy Ermolovich | 2011-12-19 | 1 | -1/+24 |
| | | |||||
* | | Remove deprecation warnings from Action Pack. | José Valim | 2011-12-20 | 2 | -35/+3 |
| | | |||||
* | | Remove deprecated layout lookup. | José Valim | 2011-12-20 | 1 | -12/+3 |
| | | |||||
* | | remove warnings about @variable_for_layout | lest | 2011-12-20 | 1 | -5/+6 |
| | | |||||
* | | adding tests for #4029 | Aaron Patterson | 2011-12-19 | 2 | -1/+52 |
|/ | |||||
* | Merge pull request #4012 from JustinCampbell/master | José Valim | 2011-12-17 | 1 | -0/+31 |
|\ | | | | | Allow symbols to be passed as extension aliases in Mime::Type.register | ||||
| * | Add test for register_alias | Justin Campbell | 2011-12-17 | 1 | -0/+9 |
| | | |||||
| * | Add test for type aliases | Justin Campbell | 2011-12-17 | 1 | -0/+11 |
| | | |||||
| * | Allow symbols to be passed for extension aliases | Justin Campbell | 2011-12-17 | 1 | -0/+11 |
| | | |||||
* | | warning removed "warning: instance variable @variable_for_layout not ↵ | Arun Agrawal | 2011-12-17 | 1 | -0/+1 |
|/ | | | | initialized" | ||||
* | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 2 | -1/+11 |
| | | | | production. | ||||
* | Do not raise an exception if an invalid route was generated automatically. | José Valim | 2011-12-16 | 1 | -0/+1 |
| | |||||
* | ShowExceptions should understand X-Cascade responses from exceptions app. | José Valim | 2011-12-16 | 1 | -0/+11 |
| | |||||
* | Improve the specs on exceptions app. | José Valim | 2011-12-16 | 1 | -1/+14 |
| | |||||
* | Extract the rendering of public exceptions pages into a Rack app. | José Valim | 2011-12-16 | 3 | -11/+3 |
| | |||||
* | Get rid of the close checks since we cannot reliably close the session anyway. | José Valim | 2011-12-16 | 2 | -137/+1 |
| | |||||
* | Warning removed "warning: (...) interpreted as grouped expression" | Arun Agrawal | 2011-12-16 | 1 | -1/+1 |
| | |||||
* | it's -> its | Xavier Noria | 2011-12-15 | 1 | -1/+1 |
| | |||||
* | Fix diagnostics page for routing errors. | José Valim | 2011-12-15 | 1 | -3/+10 |
| | |||||
* | fix separator insertion in date_select helper | Sergey Nartimov | 2011-12-14 | 1 | -0/+19 |
| | |||||
* | Close the response body on cascade pass, closes #3975. | José Valim | 2011-12-14 | 1 | -3/+22 |
| | |||||
* | Fix url_for options[:subdomain] to allow objects as values | choonkeat | 2011-12-14 | 1 | -0/+8 |
| | | | | * 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é Valim | 2011-12-14 | 2 | -7/+5 |
| | |||||
* | log exception backtrace when all backtrace lines silenced | Sergey Nartimov | 2011-12-13 | 1 | -0/+13 |
| | |||||
* | Fix failing AP tests. | José Valim | 2011-12-13 | 1 | -1/+1 |
| | |||||
* | use Array#join so that file encoding doesn't impact returned string. | Aaron Patterson | 2011-12-12 | 1 | -0/+9 |
| | | | | Fixes #3957 | ||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -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é Valim | 2011-12-12 | 1 | -0/+13 |
| | |||||
* | Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson] | Lennart Fridén | 2011-12-11 | 1 | -1/+18 |
| | | | | | | | | | | 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 | ||||
* | Add button_tag support to ActionView::Helpers::FormBuilder. | Will Farrington | 2011-12-11 | 1 | -1/+3 |
| | | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %> | ||||
* | only load converter if the encodings are different | Aaron Patterson | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | Deprecate implicit layout lookup in favor of inheriting the _layout config. | José Valim | 2011-12-09 | 1 | -2/+2 |
| | |||||
* | load the encoding converter to work around [ruby-core:41556] when switching ↵ | Aaron Patterson | 2011-12-08 | 1 | -0/+1 |
| | | | | encodings | ||||
* | Fix another regression related to the layout optimization. | José Valim | 2011-12-08 | 1 | -1/+25 |
| | |||||
* | Fix a regression and also fix broken test. | José Valim | 2011-12-08 | 1 | -5/+5 |
| | |||||
* | Fix warning for params_wrapper_test. | kennyj | 2011-12-08 | 1 | -1/+1 |
| | |||||
* | ParamsWrapper only wrap the accessible attributes when they were set | Jean-Francois Turcot | 2011-12-07 | 1 | -1/+28 |
| | |||||
* | Merge pull request #3884 from sikachu/master-fix_layout | José Valim | 2011-12-07 | 3 | -2/+66 |
|\ | | | | | Allow layout fallback when using `layout` method | ||||
| * | Allow layout fallback when using `layout` method | Prem Sichanugrist | 2011-12-06 | 1 | -1/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Fix bug in assert_template when using only `:layout` option | Prem Sichanugrist | 2011-12-06 | 2 | -1/+17 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Use default charset when we read content type without charset. | kennyj | 2011-12-07 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #3428 from adrianpike/asset_path_conflicts | Santiago Pastorino | 2011-12-06 | 1 | -0/+57 |
|\ | | | | | Issue #3427 - asset_path_conflicts | ||||
| * | Let's do the same trick for asset_path that we do for ↵ | Adrian Pike | 2011-12-05 | 1 | -0/+57 |
| | | | | | | | | | | | | [image,javascript,stylesheet]_path to avoid namespace conflicts on named routes. Closes #3427 | ||||
* | | Allowing string as url argument for expire_action | Thomas von Deyen | 2011-12-06 | 1 | -0/+20 |
|/ | |||||
* | Merge pull request #3861 from andyjeffries/master | José Valim | 2011-12-05 | 1 | -2/+2 |
|\ | | | | | Named Routes shouldn't override existing ones (currently route recognition goes with the earliest match, named routes use the latest match) | ||||
| * | Named Routes shouldn't override existing ones (currently route recognition ↵ | Andy Jeffries | 2011-12-05 | 1 | -2/+2 |
| | | | | | | | | goes with the earliest match, named routes use the latest match) | ||||
* | | use classify in ParamsWrapper to derive model name from controller name | lest | 2011-12-05 | 1 | -0/+35 |
|/ | |||||
* | Fix for redirect_to to respect urls with a network path reference like ↵ | Overbryd | 2011-12-05 | 1 | -0/+10 |
| | | | | "//asset.host.com/resources/1235" see issue #3856 |