aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* delegating path and open to internal tempfileAaron Patterson2010-11-181-2/+8
|
* Add config.action_controller.include_all_helpers, by default it is set to true.Piotr Sarnacki2010-11-182-2/+5
| | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false.
* Pass the view object as parameter to the handler. Useful if you need to ↵José Valim2010-11-171-1/+2
| | | | access the lookup context or other information when compiling the template.
* Anchors should be allowed on constraints that are not on path segmentsCarl Lerche2010-11-161-9/+12
|
* Update the version.rb files to include a PRE partCarl Lerche2010-11-161-2/+2
|
* Brought the domain method in AD http url inline with subdomain where ↵Josh Kalderimis2010-11-161-1/+2
| | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1.
* changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to ↵Josh Kalderimis2010-11-162-17/+21
| | | | the new public api, and updated the railtie
* corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵Josh Kalderimis2010-11-164-75/+47
| | | | merged asset id caching and asset paths together.
* reorganised the the common asset helpers module into a class and have it ↵Josh Kalderimis2010-11-166-125/+128
| | | | include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css)
* incorporated most of the feedback from JoséJosh Kalderimis2010-11-166-288/+279
|
* reduced duplication between the javascript and stylesheet asset tag methods, ↵Josh Kalderimis2010-11-168-264/+312
| | | | also split the asset id caching methods into a separate module for easy inclusion and use by the asset include tag class and base asset tag helpers
* separated the asset id methods to a separate module, removed some dupliation ↵Josh Kalderimis2010-11-166-413/+486
| | | | with the various path methods, and moved the base asset tag methods to a base module so the asset id module can play nice with the path generation
* split the javascript and stylesheet tag helpers into separate files as a ↵Josh Kalderimis2010-11-163-313/+348
| | | | precusor before removing the duplication between the two
* rejecting blank stringsAaron Patterson2010-11-151-2/+2
|
* reduce method callsAaron Patterson2010-11-151-4/+4
|
* make sure we are only doing sanity checking against regular expressionsAaron Patterson2010-11-151-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-152-9/+230
|\
| * Merge branch 'master' of github.com:lifo/docrailsRyan Bigg2010-11-151-0/+18
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:lifo/docrails: Getting Started guide: remove calls to f.error_messages as it has been removed from Rails deliver_* is no more removed unnecessary indentation added note with example for using flash in redirection corrected sample code to clear @_current_user class variable also the partial option is not required for simple partial rendering colorize_logging is a Rails General Configuration option not a specific option of ActiveRecord Fixed the name of the 'generator option' this reads better, i don't know what the other 'so on' are, doesn't help reader imho added missing word to clear up meaning in my previous commit Add a note to TextHelpers making explicit their default behavior of not escaping but sanitizing. removed indentation, for code style consistency and readibility Use Rails.logger, not ActiveRecord::Base.logger removed etc. not require added missing space and minor rewording corrected to Rails 3 syntax for declaring resources Fixes ActionMailer example error
| | * Add a note to TextHelpers making explicit their default behavior of not ↵José Valim2010-11-081-0/+18
| | | | | | | | | | | | escaping but sanitizing.
| * | Document the constraints methodRyan Bigg2010-11-141-1/+55
| | |
| * | Add documentation for :path_names option on resourcesRyan Bigg2010-11-131-0/+8
| | |
| * | See the scope method for documentation for namespace's shallow_path optionRyan Bigg2010-11-131-0/+3
| | |
| * | Add documentation for the mount method in ActionDispatch's MapperRyan Bigg2010-11-131-0/+17
| |/
| * Fix indentation for :as option documentation on the namespace methodRyan Bigg2010-11-071-4/+4
| |
| * Document the :shallow_path option for scopeRyan Bigg2010-11-071-0/+19
| |
| * Indent final comment for :path optionRyan Bigg2010-11-071-1/+1
| |
| * Indent code example for :as optionRyan Bigg2010-11-071-3/+3
| |
| * Document the :as option for the scope methodRyan Bigg2010-11-071-0/+10
| |
| * Space between module option documentation and path documentationRyan Bigg2010-11-071-0/+1
| |
| * Fix indentation on comment for :path optionRyan Bigg2010-11-071-1/+1
| |
| * Document the :as option for the namespace methodRyan Bigg2010-11-071-0/+8
| |
| * Document the :module option for namespaceRyan Bigg2010-11-071-0/+15
| |
| * Document the :path option for namespaceRyan Bigg2010-11-071-0/+11
| |
| * Begin to document the namespace method for AD's MapperRyan Bigg2010-11-071-0/+15
| |
| * Document the controller method for AD's MapperRyan Bigg2010-11-071-0/+6
| |
| * Document the defaults methodRyan Bigg2010-11-071-0/+5
| |
| * Document the :module and :path options for the scope method.Ryan Bigg2010-11-071-4/+13
| |
| * Separate comments and examples with "Examples" header.Ryan Bigg2010-11-071-0/+2
| |
| * Fix where the documentation says "photos", but the example shows "posts" or ↵Ryan Bigg2010-11-071-4/+4
| | | | | | | | "comments" by switching both to simply "posts"
| * Add further documentation + examples for the get, post, put and delete ↵Ryan Bigg2010-11-071-1/+21
| | | | | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers
* | Add f.submit to forms just to show the most common use caseSantiago Pastorino2010-11-141-0/+12
| |
* | Merge branch 'spastorino-master'Santiago Pastorino2010-11-141-2/+2
|\ \
| * | This doesn't make sense hereSantiago Pastorino2010-11-141-2/+2
| | |
* | | Add empty line between previous method and RDoc of submit to allow RDoc ↵Santiago Pastorino2010-11-141-0/+1
|/ / | | | | | | appear on api.rubyonrails.org
* | Make collection and collection_from_object methods return an arraySantiago Pastorino2010-11-131-3/+4
| | | | | | | | | | | | This transforms for instance scoped objects into arrays and avoid unneeded queries [#5958 state:committed]
* | provide better error message if path is uri [#5914 state:resolved]Neeraj Singh2010-11-111-3/+5
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | fields_for should treat ActiveRecord::Relation as an arrayNeeraj Singh2010-11-111-2/+2
| | | | | | | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Remove inline comment.José Valim2010-11-111-17/+17
| |
* | Make after_filter halt when before_filter renders or redirects [#5648 ↵Marcelo Giorgi2010-11-111-0/+2
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | patching to ensure separator is printed with order [#5816 state:resolved]Aditya Sanghi2010-11-111-0/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>