aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* ParamsWrapper only wrap the accessible attributes when they were setJean-Francois Turcot2011-12-071-1/+8
|
* Fix bug in assert_template when using only `:layout` optionPrem Sichanugrist2011-12-061-13/+15
| | | | | | | | | | 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.
* Allowing string as url argument for expire_actionThomas von Deyen2011-12-061-3/+2
|
* use classify in ParamsWrapper to derive model name from controller namelest2011-12-051-1/+1
|
* Minor enhancement by not unnecessarely escaping forward slashing within a ↵Overbryd2011-12-051-1/+2
| | | | curly regexp and by mentoining the protocol relative scheme in the internal comment
* Fix for redirect_to to respect urls with a network path reference like ↵Overbryd2011-12-051-2/+2
| | | | "//asset.host.com/resources/1235" see issue #3856
* Merge branch 'exceptions' with the following features:José Valim2011-12-011-1/+1
|\ | | | | | | | | | | | | | | | | * 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
| * Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-011-1/+1
| |
* | Revert "Added ActiveRecord::Base#last_modified to work with the new ↵David Heinemeier Hansson2011-12-011-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 Hansson2011-12-011-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 Hansson2011-12-011-4/+49
|/
* Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time ↵José Valim2011-11-302-1/+10
| | | | a before callback halts.
* removes a Serialization constant left in the previous revertXavier Noria2011-11-251-1/+0
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-51/+0
|
* Add docs to serializers. Update CHANGELOGs.José Valim2011-11-251-0/+23
|
* Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-1/+3
|
* Merge branch 'master' into serializersJosé Valim2011-11-2311-37/+35
|\
| * Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-231-3/+4
| | | | | | | | methods directly.
| * move show_detailed_exceptions? to Rescue modulelest2011-11-223-5/+12
| |
| * add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-0/+5
| |
| * Merge pull request #3613 from mitio/fix-actionpack-responder-docsXavier Noria2011-11-111-4/+4
| |\ | | | | | | Fix wording and minor typos in the Responder RDoc
| | * Fix wording and minor typos in the Responder RDocDimitar Dimitrov2011-11-111-4/+4
| | |
| * | Merge pull request #3581 from amatsuda/metal_response_body_19José Valim2011-11-101-1/+7
| |\ \ | | | | | | | | AC::Metal#response_body= stores different value in Ruby 1.8 and 1.9
| | * | Fix AC::Metal#response_body= to store same value on Ruby 1.8 and 1.9Akira Matsuda2011-11-071-1/+7
| | | | | | | | | | | | | | | | This was because String#respond_to?(:each) differs in 1.8 and 1.9
| * | | DrbStore removed from cache backendsIvan Evtukhovich2011-11-071-1/+0
| | | |
| * | | fix incorrect code exampleVijay Dev2011-11-071-1/+1
| |/ /
| * | this should never return nil, so no use for "try"Aaron Patterson2011-10-311-1/+1
| | |
| * | Ensure that the format isn't applied twice to the cache key, else it becomes ↵Christopher Meiklejohn2011-10-311-1/+1
| | | | | | | | | | | | impossible to target with expire_action.
| * | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-301-2/+2
| |\ \
| | * | add namespacing when referring to ActionController::RedirectBackErrorNick Howard2011-10-251-2/+2
| | | |
| * | | Responders now return 204 No Content for API requests without a response ↵José Valim2011-10-261-21/+1
| |/ / | | | | | | | | | body (as in the new scaffold)
| * | HTMl -> HTML: html scanner comment fixAlexey Vakhov2011-10-151-1/+1
| | |
| * | Update AC::RecordIdentifier exampleAlexey Vakhov2011-10-151-2/+2
| |/
* | Refactor to make renderers a SetJose and Yehuda2011-10-151-11/+9
| |
* | Initial commit of serializer supportJose and Yehuda2011-10-152-0/+27
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-142-2/+4
|\
| * status is a number in Rails 3Akira Matsuda2011-10-121-2/+2
| |
| * Add ActionController#head exampleAlexey Vakhov2011-10-111-0/+2
| |
* | Support symbol and string actions in AC#respond_to optionsAlexey Vakhov2011-10-111-3/+3
|/
* JSON responder should return errors with :error rootDenis Odorcic2011-10-101-1/+9
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-091-1/+1
|\
| * Fix params hash example in AC::Base commentAlexey Vakhov2011-10-081-1/+1
| |
* | accept optional :host parameter to force_sslBen Scheirman2011-10-081-2/+5
| |
* | Remove unnecessary dup in expire_pageAlexey Vakhov2011-10-081-1/+1
|/
* Merge pull request #3193 from avakhov/patch-ac-test-case-safe-constantizeJosé Valim2011-10-031-3/+1
|\ | | | | use safe_constantize instead constantize in AC::TestCase
| * use safe_constantize instead constantize in AC::TestCaseAlexey Vakhov2011-10-031-3/+1
| |
* | normalize arg for AC::TestCase tests class methodAlexey Vakhov2011-10-031-2/+14
|/
* add missing require to html sanitizerAlexey Vakhov2011-09-271-0/+1
|
* Use safe_constantize where possible.José Valim2011-09-231-6/+3
|
* Change log level for CSRF token verification warningMike Dillon2011-09-101-1/+1
|