aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* errors in ActionView should not be namespaced as well.José Valim2010-01-071-6/+6
|
* namespace in routes changes both the path and name prefix.José Valim2010-01-061-1/+4
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-051-0/+12
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-051-2/+12
|
* Trash string coercion rack hacksJoshua Peek2010-01-042-41/+0
|
* Autoload AR test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-1/+0
|
* Remove deprecated formatted named routesJosé Valim2010-01-041-18/+0
|
* adding fix for auto linking to master tooZach Brock2010-01-051-0/+14
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Ensure no notification is on the queue before running notifications related ↵José Valim2010-01-034-0/+8
| | | | tests.
* Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵José Valim2010-01-031-0/+20
| | | | hooks for plugins like ExceptionNotifier.
* Use namespaces in notifications.José Valim2010-01-034-14/+12
|