aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* authenticity_token option for form_tag [#2988 state:resolved]Jakub Kuźma2011-01-091-5/+17
|
* Improve select helpers by allowing a selected value of false. This is ↵John Allison2011-01-091-1/+1
| | | | useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. f.select :allow_comments)
* HTML5 button_tag helperRizwan Reza2011-01-091-0/+50
| | | | | | | | This tag is similar in nature to submit_tag, but allows more control. It also doesn't submit if submit type isn't used, allowing JavaScript to control the flow where required. For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
* Remove InstanceTagMethods module and define the methods inside the ↵Santiago Pastorino2011-01-091-7/+2
| | | | InstanceTag class
* render :template is faster than render :fileSantiago Pastorino2011-01-012-5/+4
|
* This is not needed anymoreSantiago Pastorino2011-01-011-3/+0
|
* ActionController::Base.helpers.sanitize ignores case in protocolTimothy N. Tsvetkov2010-12-301-1/+1
| | | | | | [#6044 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* process_action accepts multiple args, even with Callbacks.Nick Sutterer2010-12-291-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-293-12/+12
|\
| * .erb => .html.erbAkira Matsuda2010-12-252-6/+6
| |
| * for ... in => each ... doAkira Matsuda2010-12-252-6/+6
| |
* | Clean up PathSet.José Valim2010-12-271-19/+4
| |
* | No need to symbolize these.José Valim2010-12-271-2/+2
| |
* | Final tidy up on templates inheritance.José Valim2010-12-274-15/+11
| |
* | Speed up template inheritance and remove template inheritance optionwycats2010-12-261-16/+17
| |
* | A bunch of cleanup on the inherited template patchwycats2010-12-263-10/+32
| |
* | all tests passartemave2010-12-265-7/+7
| |
* | #948 make template inheritance optionalartemave2010-12-261-4/+12
| |
* | #948 template_inheritanceartemave2010-12-268-31/+54
|/
* Merge branch 'master' of github.com:rails/railsXavier Noria2010-12-244-8/+17
|\
| * Don't deprecate to_prepare.José Valim2010-12-231-4/+4
| |
| * Clean up callbacks should also be called on exceptions.José Valim2010-12-231-0/+3
| |
| * Allow registering javascript/stylesheet_expansions to existing symbolsSantiago Pastorino2010-12-222-4/+10
| |
* | Edits to caching/fragments.Rizwan Reza2010-12-231-17/+39
| |
* | More minor edits.Rizwan Reza2010-12-231-5/+5
| |
* | Revised documentation for cache_helper.Rizwan Reza2010-12-231-12/+10
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-231-7/+15
|\
| * Typo (request -> response)John Firebaugh2010-12-211-1/+1
| |
| * Expand ActionDispatch::Reloader docsJohn Firebaugh2010-12-211-6/+14
| |
* | Do not use the same hash instance for expansions [#6114 state:resolved]Piotr Sarnacki2010-12-221-1/+3
|/ | | | | Using the same hash instance makes using the same expansions for both javascripts and stylesheets.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-201-6/+6
|\
| * Fix respond_with example code so it makes senseWill2010-12-191-2/+2
| |
| * Correct deprecated AR usage in ActionController::MimeResponds documentationWill2010-12-191-4/+4
| |
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-153-18/+34
| |\
| * | Fix edge cases for domain :all option on cookie storebrainopia2010-12-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * | Set proper engine's asset directories when assets are served from engine.Piotr Sarnacki2010-12-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static
* | | Small changes on AD::Reloader.José Valim2010-12-201-20/+3
| | |
* | | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-25/+6
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-202-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Remove require AS::Concern from places where is already inSantiago Pastorino2010-12-191-1/+0
| | |
* | | Add missing requireSantiago Pastorino2010-12-191-0/+1
| | |
* | | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-181-2/+3
| | |
* | | dry up case / when statementAaron Patterson2010-12-171-5/+3
| | |
* | | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"Piotr Sarnacki2010-12-171-3/+2
| | | | | | | | | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10.
* | | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-171-2/+3
| | |
* | | Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-163-4/+25
| | |
* | | Fix edge cases for domain :all option on cookie storebrainopia2010-12-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | | Set proper engine's asset directories when assets are served from engine.Piotr Sarnacki2010-12-161-0/+8
| |/ |/| | | | | | | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static
* | eternal confusion! fixed doco to inform correctlyAditya Sanghi2010-12-151-1/+1
| |
* | Added :placeholder option to ActionView::Helpers::FormTagHelper text_field_tagBen Mills2010-12-131-0/+4
| |