aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'mainstream/master'Pratik Naik2010-01-1796-2019/+2976
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb
| * Allow custom controller for resource(s) [#3703 state:resolved]Joshua Peek2010-01-162-11/+11
| |
| * Split ActionDispatch http in smaller chunks.José Valim2010-01-168-431/+489
| |
| * 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-152-2/+5
| |
| * Fix const reference for SessionRestoreErrorJoshua Peek2010-01-151-1/+1
| |
| * Always join scoped paths with slashesJoshua Peek2010-01-151-11/+17
| |
| * Cleanup internal resource macro to use method helper shorthandJoshua Peek2010-01-152-20/+26
| |
| * Routing method shorthand shouldn't clobber :to optionsJoshua Peek2010-01-152-2/+19
| |
| * Move Flash into middlewareJoshua Peek2010-01-158-183/+223
| |
| * Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-156-8/+42
| |
| * In heterogeneous collections, neither the @path nor the @template are ↵José Valim2010-01-152-1/+11
| | | | | | | | available, so we need to tell that we are simply rendering a collection.
| * Allow f.submit to be localized per object.José Valim2010-01-152-3/+33
| |
| * Remove URI object from ActiveResource notification, send the :mailer class ↵José Valim2010-01-151-4/+1
| | | | | | | | in AM (like in AP#process_action) and remove locale instrumentation.
| * Ensure log is flushed and tailed on failures.José Valim2010-01-152-7/+37
| |
| * Template rendering should include layout time.José Valim2010-01-151-10/+10
| |
| * Do not send the whole controller in notifications, cherry pick required pieces.José Valim2010-01-154-20/+45
| |
| * Small tweaks in ActionController subscriber messages format.José Valim2010-01-152-3/+10
| |
| * Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-1510-113/+163
| |
| * Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-135-68/+133
| |
| * optimise_named_routes is unnecessaryJoshua Peek2010-01-133-19/+0
| |
| * Add documentation to f.submit and make scaffold generators use the new shortcut.José Valim2010-01-141-15/+34
| |
| * Ensure optional path scopes are properly handled.José Valim2010-01-142-8/+64
| |
| * Custom 'type' attribute support for text_field. [#3646 status:resolved]Stephen Celis2010-01-142-1/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Make check boxes accept :multiple as option so they can handle collections ↵José Valim2010-01-143-2/+20
| | | | | | | | (such as HABTM).
| * Call :to_model before working with the object.José Valim2010-01-142-8/+13
| |
| * Add possibility to use i18n translatios in submit FormHelper.Carlos Antonio da Silva2010-01-143-14/+89
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-144-13/+16
| |
| * Add router support for resources :only and :except actionsJoshua Peek2010-01-132-16/+56
| |
| * Cool this routing test passes nowJoshua Peek2010-01-131-14/+13
| |
| * Pass :as to resources to change the resource nameJoshua Peek2010-01-132-4/+31
| |
| * Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-132-2/+26
| | | | | | | | 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-133-17/+100
| |
| * Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-1319-269/+367
| |
| * Improve ActionPack logger output.José Valim2010-01-111-5/+8
| |
| * Merge branch 'master' of git://github.com/rails/railsJosé Valim2010-01-114-5/+37
| |\
| | * Cleanup junk metal and revise APIJoshua Peek2010-01-101-3/+25
| | | | | | | | | | | | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
| | * Javascript tests expects the old default of escaping HTML, make it so for nowDavid Heinemeier Hansson2010-01-102-0/+10
| | |
| | * Use safe_concat instead of trying to html_safe! what might be a frozen stringDavid Heinemeier Hansson2010-01-101-2/+2
| | |
| * | Provide useful information when instrumenting partials.José Valim2010-01-111-8/+6
| |/
| * Raise an error if respond_with is invoked and no format is declared.José Valim2010-01-106-74/+68
| |
| * Ensure nested namespaces work as expected.José Valim2010-01-102-7/+16
| |
| * Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-102-5/+13
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fixed that PrototypeHelper#update_page should return html_safe [DHH]David Heinemeier Hansson2010-01-082-1/+3
| |
| * Fixed that much of DateHelper wouldn't return html_safe? strings [DHH]David Heinemeier Hansson2010-01-083-5/+29
| |
| * Fixed that fragment caching should return a cache hit as html_safe (or it ↵David Heinemeier Hansson2010-01-072-1/+3
| | | | | | | | would all just get escaped) [DHH]
| * Ensure that segments in default_url_options also work with format specified.José Valim2010-01-072-2/+10
| |
| * From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-074-65/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.