aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* I18n label helper [#745 status:resolved]Carsten Gehling2010-01-022-0/+41
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix new year heisenbugJeremy Kemper2009-12-311-2/+2
|
* Fix controller runtime testJeremy Kemper2009-12-301-2/+2
|
* Kick AR logging back to life and move ControllerRuntime inside ↵José Valim2009-12-301-0/+39
| | | | ActiveRecord::Rails.
* Merge remote branch 'jose/perf'Yehuda Katz2009-12-277-93/+72
|\
| * Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-267-93/+72
| | | | | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
* | Added shorthand for match 'products/overview' that expands to match ↵David Heinemeier Hansson2009-12-271-6/+16
| | | | | | | | 'products/overview', :to => 'products#overview', :as => 'products_overview'
* | Expect Rack 1.1Joshua Peek2009-12-261-1/+1
|/
* Fix testsDavid Heinemeier Hansson2009-12-251-2/+2
|
* MergeDavid Heinemeier Hansson2009-12-242-3/+12
|\
| * Allow named_routes to be used with root, and with new DSL short-form.Sam Ruby2009-12-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | The real use case it to make all of the following act the same: root 'store#index', :as => 'store' match '/' => 'store#index', :as => 'store' match '/', :to => 'store#index', :as => 'store' The test case provided deviates from this in order to demonstrate all three forms in a single set of test routes. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Routing: fix that route shorthand shouldn't ignore other options. Raise if ↵Jeremy Kemper2009-12-231-2/+4
| | | | | | | | :as option is given to root method since its name is always 'root'
| * Fix bare string Rack response bodiesJeremy Kemper2009-12-231-2/+2
| |
* | Extract Mapping class from monster match methodDavid Heinemeier Hansson2009-12-241-1/+12
|/
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-2/+2
|