aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Disable ShowExceptions during integration testsJoshua Peek2010-01-193-13/+13
|
* Move parameters to the top on logging.José Valim2010-01-192-26/+32
|
* Fix failing test.José Valim2010-01-191-2/+2
|
* Do not send rack.input or any other rack information to AD listeners.José Valim2010-01-191-3/+2
|
* Missing rename from named_scope to scope [#3735 status:resolved]Damien Mathieu2010-01-181-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Clear out AS callback method pollution in AC::Base.action_methodsJoshua Peek2010-01-171-1/+27
|
* Accessing nonexistant cookies through the signed jar should not raise anJoshua Peek2010-01-171-0/+5
| | | | exception
* Module lookup issue on flash_test using ruby 1.9 solved [#3716 status:resolved]Sam Elliott and Santiago Pastorino2010-01-171-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵Prem Sichanugrist2010-01-171-10/+12
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-174-99/+128
|
* Add ActionDispatch::Notifications middleware.José Valim2010-01-173-35/+69
|
* Clean up filter parameter logging tests.José Valim2010-01-171-27/+0
|
* Cookies middlewareJoshua Peek2010-01-164-35/+11
|
* Allow custom controller for resource(s) [#3703 state:resolved]Joshua Peek2010-01-161-10/+10
|
* Add tests for simple match with namespace.José Valim2010-01-151-0/+10
|
* Add some implicit path tests to Subscriber.José Valim2010-01-151-1/+18
|
* Fix singleton resource named routesJoshua Peek2010-01-151-0/+3
|
* Cleanup internal resource macro to use method helper shorthandJoshua Peek2010-01-151-0/+12
|
* Routing method shorthand shouldn't clobber :to optionsJoshua Peek2010-01-151-0/+17
|
* Move Flash into middlewareJoshua Peek2010-01-152-2/+42
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-153-3/+16
|
* In heterogeneous collections, neither the @path nor the @template are ↵José Valim2010-01-151-0/+10
| | | | available, so we need to tell that we are simply rendering a collection.
* Allow f.submit to be localized per object.José Valim2010-01-151-1/+19
|
* Ensure log is flushed and tailed on failures.José Valim2010-01-151-3/+34
|
* Small tweaks in ActionController subscriber messages format.José Valim2010-01-151-1/+8
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-152-47/+109
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-132-21/+35
|
* optimise_named_routes is unnecessaryJoshua Peek2010-01-132-14/+0
|
* Ensure optional path scopes are properly handled.José Valim2010-01-141-0/+52
|
* Custom 'type' attribute support for text_field. [#3646 status:resolved]Stephen Celis2010-01-141-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make check boxes accept :multiple as option so they can handle collections ↵José Valim2010-01-142-1/+14
| | | | (such as HABTM).
* Call :to_model before working with the object.José Valim2010-01-141-2/+2
|
* Add possibility to use i18n translatios in submit FormHelper.Carlos Antonio da Silva2010-01-141-3/+60
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-142-9/+9
|
* Add router support for resources :only and :except actionsJoshua Peek2010-01-131-0/+18
|
* Cool this routing test passes nowJoshua Peek2010-01-131-14/+13
|
* Pass :as to resources to change the resource nameJoshua Peek2010-01-131-0/+26
|
* Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-131-0/+17
| | | | new member action.
* ControllerRuntime tests also use Rails::Subscriber::TestHelper.José Valim2010-01-132-22/+32
|
* Test fragment/page cache and send data/file notifications.José Valim2010-01-132-12/+95
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-136-133/+182
|
* Javascript tests expects the old default of escaping HTML, make it so for nowDavid Heinemeier Hansson2010-01-102-0/+10
|
* Raise an error if respond_with is invoked and no format is declared.José Valim2010-01-105-71/+62
|
* Ensure nested namespaces work as expected.José Valim2010-01-101-0/+12
|
* Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-101-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed that much of DateHelper wouldn't return html_safe? strings [DHH]David Heinemeier Hansson2010-01-081-0/+22
|
* Ensure that segments in default_url_options also work with format specified.José Valim2010-01-071-0/+8
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-072-44/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views.
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-073-266/+272
| | | | and ActionController up to AbstractController.
* Use helpers.label instead of views.labels.José Valim2010-01-072-5/+5
|