Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rack bodies should be a list | Aaron Patterson | 2011-12-22 | 1 | -7/+7 | |
| | ||||||
* | refactoring routing tests | Aaron Patterson | 2011-12-22 | 1 | -34/+19 | |
| | ||||||
* | adding integration test for journey #7 | Aaron Patterson | 2011-12-21 | 1 | -0/+22 | |
| | ||||||
* | caches should not be global, so no need to clear in the teardown | Aaron Patterson | 2011-12-21 | 1 | -4/+0 | |
| | ||||||
* | remove warnings about @variable_for_layout | lest | 2011-12-20 | 1 | -5/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | adding tests for #4029 | Aaron Patterson | 2011-12-19 | 1 | -0/+51 | |
| | ||||||
* | 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. | |||||
* | Extract the rendering of public exceptions pages into a Rack app. | José Valim | 2011-12-16 | 1 | -1/+1 | |
| | ||||||
* | Get rid of the close checks since we cannot reliably close the session anyway. | José Valim | 2011-12-16 | 1 | -40/+0 | |
| | ||||||
* | 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 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) | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | 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 | |||||
* | Merge branch 'exceptions' with the following features: | José Valim | 2011-12-01 | 1 | -0/+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 | |||||
| * | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 1 | -0/+1 | |
| | | ||||||
* | | 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 | -0/+46 | |
|/ | ||||||
* | fix method redefined warnings in tests | lest | 2011-11-30 | 2 | -12/+0 | |
| | ||||||
* | Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time ↵ | José Valim | 2011-11-30 | 1 | -1/+12 | |
| | | | | a before callback halts. | |||||
* | Revert the serializers API as other alternatives are now also under discussion | José Valim | 2011-11-25 | 1 | -48/+0 | |
| | ||||||
* | Merge branch 'serializers' | José Valim | 2011-11-25 | 1 | -0/+48 | |
|\ | | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md | |||||
| * | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 1 | -1/+15 | |
| | | ||||||
| * | Merge branch 'master' into serializers | José Valim | 2011-11-23 | 5 | -11/+102 | |
| |\ | ||||||
| * | | Initial commit of serializer support | Jose and Yehuda | 2011-10-15 | 1 | -0/+34 | |
| | | | ||||||
* | | | Warnings removed. (ambiguous first argument) | kennyj | 2011-11-24 | 1 | -3/+3 | |
| |/ |/| | ||||||
* | | move show_detailed_exceptions? to Rescue module | lest | 2011-11-22 | 1 | -2/+2 | |
| | | ||||||
* | | refactor show exceptions tests | lest | 2011-11-22 | 1 | -0/+59 | |
| | | ||||||
* | | Merge pull request #3581 from amatsuda/metal_response_body_19 | José Valim | 2011-11-10 | 1 | -0/+6 | |
|\ \ | | | | | | | AC::Metal#response_body= stores different value in Ruby 1.8 and 1.9 | |||||
| * | | A test case to ensure that AC::Metal#response_body= always wraps the given ↵ | Akira Matsuda | 2011-11-10 | 1 | -0/+6 | |
| | | | | | | | | | | | | value in an Array in both Ruby 1.8 and 1.9 (refs #3581) | |||||
* | | | Fix trouble using :subdomain in development environment when using ↵ | Bradford Folkens | 2011-11-08 | 1 | -0/+11 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numeric addresses. See-also pull request #3561 from 3-1-stable Otherwise the following occurs: TypeError: can't convert nil into String /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:75:in host_or_subdomain_and_domain' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:37:in url_for' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/routing/url_for.rb:147:in test_subdomain_may_be_accepted_with_numeric_host' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in run' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:426:in send' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:81:in run' | |||||
* | | Ensure that the format isn't applied twice to the cache key, else it becomes ↵ | Christopher Meiklejohn | 2011-10-31 | 1 | -0/+13 | |
| | | | | | | | | impossible to target with expire_action. | |||||
* | | Responders now return 204 No Content for API requests without a response ↵ | José Valim | 2011-10-26 | 1 | -10/+10 | |
| | | | | | | | | body (as in the new scaffold) | |||||
* | | ActionPack test fix for RBX | Arun Agrawal | 2011-10-24 | 1 | -1/+3 | |
|/ | ||||||
* | / is allowed in URI fragments | Jeremy Kemper | 2011-10-13 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #2219 from kommen/fix_fragment_caching_squashed | Santiago Pastorino | 2011-10-13 | 1 | -0/+49 | |
| | | | | Fix fragment caching (squashed commits) | |||||
* | Support symbol and string actions in AC#respond_to options | Alexey Vakhov | 2011-10-11 | 1 | -1/+1 | |
| | ||||||
* | JSON responder should return errors with :error root | Denis Odorcic | 2011-10-10 | 1 | -0/+26 | |
| | ||||||
* | accept optional :host parameter to force_ssl | Ben Scheirman | 2011-10-08 | 1 | -1/+21 | |
| | ||||||
* | :subdomain can now be specified with a value of false in url_for, allowing ↵ | Kamil Sobieraj | 2011-10-04 | 1 | -0/+14 | |
| | | | | for subdomain(s) removal from the host during link generation. Closes #2025 |