Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for redirect_to to respect urls with a network path reference like ↵ | Overbryd | 2011-12-05 | 1 | -2/+2 |
| | | | | "//asset.host.com/resources/1235" see issue #3856 | ||||
* | form_for with +:as+ option uses "action_as" as css class and id | Vasiliy Ermolovich | 2011-12-04 | 1 | -2/+2 |
| | |||||
* | Fix failing cascade exception. | José Valim | 2011-12-03 | 2 | -2/+3 |
| | |||||
* | Try to play nice with plugins doing monkey patches. | José Valim | 2011-12-02 | 1 | -0/+5 |
| | |||||
* | Merge branch 'exceptions' with the following features: | José Valim | 2011-12-01 | 6 | -140/+213 |
|\ | | | | | | | | | | | | | | | | | * A Railtie API for registering new exceptions and their respective status code (check Active Record railtie for an example) * Extraction of ShowExceptions middleware logging and debugging features into a middleware called DebugExceptions Conflicts: actionpack/CHANGELOG.md | ||||
| * | Split and improve show and debug exceptions middlewares. | José Valim | 2011-12-01 | 1 | -11/+11 |
| | | |||||
| * | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 4 | -82/+107 |
| | | |||||
| * | Add a deprecation to old show exceptions API (even though it was not public). | José Valim | 2011-12-01 | 1 | -0/+14 |
| | | |||||
| * | Add an ExceptionWrapper that wraps an exception and provide convenience helpers. | José Valim | 2011-12-01 | 5 | -77/+104 |
| | | |||||
| * | Allow rescue responses to be configured through a railtie. | José Valim | 2011-12-01 | 2 | -9/+16 |
| | | |||||
* | | Revert "Added ActiveRecord::Base#last_modified to work with the new ↵ | David Heinemeier Hansson | 2011-12-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | fresh_when/stale? conditional get methods from Action Pack" Needless indirection with no added value. This reverts commit 535853e83b9092078035a5abb2aa242fba815c05. | ||||
* | | Added ActiveRecord::Base#last_modified to work with the new ↵ | David Heinemeier Hansson | 2011-12-01 | 1 | -2/+2 |
| | | | | | | | | fresh_when/stale? conditional get methods from Action Pack | ||||
* | | Allow fresh_when/stale? to take a record instead of an options hash [DHH] | David Heinemeier Hansson | 2011-12-01 | 1 | -4/+49 |
|/ | |||||
* | Leave default_asset_host_protocol unset | Jonathan del Strother | 2011-12-01 | 1 | -2/+0 |
| | | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation) | ||||
* | minor typo fix | Vijay Dev | 2011-12-01 | 1 | -1/+1 |
| | |||||
* | fix exception page when template contains utf-8 and parameters contain utf-8 | lest | 2011-11-30 | 1 | -1/+5 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-11-30 | 2 | -7/+7 |
|\ | |||||
| * | Fixing incorrect documentation | Aviv Ben-Yosef | 2011-11-30 | 1 | -2/+2 |
| | | | | | | `path_names` can only be used for affecting `new` and `edit` | ||||
| * | Fix ActionDispatch::Request method explanations | Travis Pew | 2011-11-28 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | The methods, "post?", "put?", "head?", etc. contain an incorrect explanation. They state that they are equivalent to request_method == :type, but this is not accurate because the methods convert the string to a symbol. They are actually equivalent to: request_method_symbol == :type | ||||
* | | Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time ↵ | José Valim | 2011-11-30 | 2 | -1/+10 |
| | | | | | | | | a before callback halts. | ||||
* | | Fixes for using action view template in isolation. | José Valim | 2011-11-30 | 3 | -2/+12 |
| | | |||||
* | | Handle correctly optional parameters for callable asset_host. | Marc-Andre Lafortune | 2011-11-29 | 1 | -2/+2 |
| | | |||||
* | | put backtrace_cleaner to env | lest | 2011-11-28 | 1 | -13/+13 |
| | | |||||
* | | Revert "use any? to check for size" | Vijay Dev | 2011-11-28 | 1 | -1/+1 |
| | | | | | | | | This reverts commit c4af5f00f602b9e1c3166872902265836daf321b. | ||||
* | | add namespace options to form_for | Vasiliy Ermolovich | 2011-11-27 | 1 | -2/+9 |
| | | | | | | | | | | You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id | ||||
* | | fix label with block in erb | lest | 2011-11-27 | 1 | -2/+2 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-11-26 | 2 | -3/+3 |
|\ | |||||
| * | use any? to check for size | Vijay Dev | 2011-11-26 | 1 | -1/+1 |
| | | |||||
| * | what's -> that's | Uģis Ozols | 2011-11-25 | 1 | -1/+1 |
| | | |||||
| * | Remove unnecessary comment. | Uģis Ozols | 2011-11-25 | 1 | -1/+1 |
| | | |||||
| * | - Avoid using .first since it will create an additional query. | Marc Chung | 2011-11-22 | 1 | -1/+1 |
| | | | | | | - Handle scenario where @posts is empty. | ||||
* | | removes a Serialization constant left in the previous revert | Xavier Noria | 2011-11-25 | 1 | -1/+0 |
| | | |||||
* | | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 2 | -52/+0 |
| | | |||||
* | | Merge pull request #3747 from lest/middleware-logger | José Valim | 2011-11-25 | 2 | -9/+13 |
|\ \ | | | | | | | middlewares should have configurable logger | ||||
| * | | middlewares should use logger from env | lest | 2011-11-25 | 2 | -9/+13 |
| | | | |||||
* | | | Merge branch 'serializers' | José Valim | 2011-11-25 | 4 | -11/+62 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md | ||||
| * | | Add docs to serializers. Update CHANGELOGs. | José Valim | 2011-11-25 | 1 | -0/+23 |
| | | | |||||
| * | | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 1 | -1/+3 |
| | | | |||||
| * | | Merge branch 'master' into serializers | José Valim | 2011-11-23 | 40 | -263/+511 |
| |\ \ | |||||
| * | | | Refactor to make renderers a Set | Jose and Yehuda | 2011-10-15 | 1 | -11/+9 |
| | | | | |||||
| * | | | Initial commit of serializer support | Jose and Yehuda | 2011-10-15 | 3 | -0/+28 |
| | | | | |||||
* | | | | configuration option to always write cookie | lest | 2011-11-23 | 2 | -2/+7 |
| |/ / |/| | | |||||
* | | | Rely on a public contract between railties instead of accessing railtie ↵ | José Valim | 2011-11-23 | 2 | -5/+6 |
| | | | | | | | | | | | | methods directly. | ||||
* | | | Remove unreachable code, and add additional testcases. | kennyj | 2011-11-24 | 1 | -6/+1 |
| | | | |||||
* | | | Merge pull request #3724 from marcandre/media_default | Yehuda Katz | 2011-11-22 | 1 | -0/+3 |
|\ \ \ | | | | | | | | | stylesheet_tag default's media is "screen" | ||||
| * | | | Make explicit the default media when calling stylesheet_tag and change the ↵ | Marc-Andre Lafortune | 2011-11-22 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | default generators. | ||||
* | | | | Merge pull request #3718 from lest/fix-javascript-include-tag | José Valim | 2011-11-22 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | javascript_include_tag should add '.js' to sources that contain '.' | ||||
| * | | | | javascript_include_tag should add '.js' to sources that contain '.' | lest | 2011-11-22 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | deprecation warning, changelog entry | lest | 2011-11-22 | 1 | -1/+3 |
| | | | | | |||||
* | | | | | move show_detailed_exceptions? to Rescue module | lest | 2011-11-22 | 3 | -5/+12 |
| | | | | |