aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* In heterogeneous collections, neither the @path nor the @template are ↵José Valim2010-01-151-1/+1
| | | | 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-2/+14
|
* 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-151-4/+3
|
* 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-151-2/+2
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-158-66/+54
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-133-47/+98
|
* optimise_named_routes is unnecessaryJoshua Peek2010-01-131-5/+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-141-8/+12
|
* Custom 'type' attribute support for text_field. [#3646 status:resolved]Stephen Celis2010-01-141-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make check boxes accept :multiple as option so they can handle collections ↵José Valim2010-01-141-1/+6
| | | | (such as HABTM).
* Call :to_model before working with the object.José Valim2010-01-141-6/+11
|
* Add possibility to use i18n translatios in submit FormHelper.Carlos Antonio da Silva2010-01-142-11/+29
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-142-4/+7
|
* Add router support for resources :only and :except actionsJoshua Peek2010-01-131-16/+38
|
* Pass :as to resources to change the resource nameJoshua Peek2010-01-131-4/+5
|
* Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-131-2/+9
| | | | new member action.
* Test fragment/page cache and send data/file notifications.José Valim2010-01-131-5/+5
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-1313-136/+185
|
* Improve ActionPack logger output.José Valim2010-01-111-5/+8
|
* Merge branch 'master' of git://github.com/rails/railsJosé Valim2010-01-112-5/+27
|\
| * 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.
| * 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-101-3/+6
|
* Ensure nested namespaces work as expected.José Valim2010-01-101-7/+4
|
* Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-101-2/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed that PrototypeHelper#update_page should return html_safe [DHH]David Heinemeier Hansson2010-01-081-1/+1
|
* Fixed that much of DateHelper wouldn't return html_safe? strings [DHH]David Heinemeier Hansson2010-01-081-5/+5
|
* Fixed that fragment caching should return a cache hit as html_safe (or it ↵David Heinemeier Hansson2010-01-071-1/+1
| | | | would all just get escaped) [DHH]
* Ensure that segments in default_url_options also work with format specified.José Valim2010-01-071-2/+2
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-072-21/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-077-211/+216
| | | | 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-073-3/+3
|
* errors in ActionView should not be namespaced as well.José Valim2010-01-072-9/+8
|
* namespace in routes changes both the path and name prefix.José Valim2010-01-061-1/+1
|
* 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-051-0/+1
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-051-5/+13
|
* 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
* Trash string coercion rack hacksJoshua Peek2010-01-042-30/+0
|
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-041-20/+0
|