aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-0710-477/+488
| | | | and ActionController up to AbstractController.
* Updated the documentation for helpers.label.José Valim2010-01-071-3/+3
|
* Use helpers.label instead of views.labels.José Valim2010-01-075-8/+8
|
* errors in ActionView should not be namespaced as well.José Valim2010-01-073-15/+14
|
* namespace in routes changes both the path and name prefix.José Valim2010-01-062-2/+5
|
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* Ruby 1.9.1 requires hash given to foormat to contain symbols.José Valim2010-01-061-1/+1
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-063-8/+8
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-052-0/+13
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-052-7/+25
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-051-0/+9
|
* NumberHelper#number_to_currency should output html_safe strings so the units ↵David Heinemeier Hansson2010-01-051-1/+1
| | | | are not escaped
* Controller tests should always require view tests since they add behavior ↵Jeremy Kemper2010-01-041-0/+1
| | | | controllers expect