aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge master.José Valim2010-03-085-7/+16
|\
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-075-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* | Bring AM up to date with new rendering stack.José Valim2010-03-083-0/+15
| |
* | Move details to lookup_context and make resolvers use the cache key.José Valim2010-03-083-90/+117
| |
* | Speed up performance in resolvers by adding fallbacks just when required.José Valim2010-03-086-55/+45
| |
* | Rename Template::Lookup to LookupContext.José Valim2010-03-087-81/+93
| |
* | More refactoring on the views side of rendering.José Valim2010-03-084-96/+98
| |
* | Finally moved the find template logic to the views.José Valim2010-03-082-20/+27
| |
* | More cleanup on the layouts side.José Valim2010-03-082-17/+6
| |
* | Move layout lookup to views.José Valim2010-03-084-7/+25
| |
* | Added template lookup responsible to hold all information used in template ↵José Valim2010-03-077-65/+82
| | | | | | | | lookup.
* | First take on ViewPaths clean up.José Valim2010-03-072-67/+30
|/
* Adds disable option to date_helpers generated hidden fields when ↵Santiago Pastorino2010-03-051-1/+2
| | | | | | | | html_options specifies it. ht by Marc Schütz [#3807 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Solved a problem that prevented render :file => work in layoutsJose Fernandez2010-03-051-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Remove some of the blank rescues from number helper. This makes the code ↵Xavier Shay2010-03-051-44/+42
| | | | | | easier to understand, as you're not left wondering what the rescue is actually doing. This does not change documented/tested behaviour. Signed-off-by: wycats <wycats@gmail.com>
* Actually, revert previous commit. Having a lot of information is better than ↵José Valim2010-03-051-9/+3
| | | | having no information at all.
* Define to_s method in ActionView::Resolver, so I'm not required to write it ↵José Valim2010-03-051-1/+5
| | | | in inherited classes.
* Fix a bunch of failing AP / AM specs created from the previous ↵Carl Lerche2010-03-041-1/+1
| | | | AbstractController configuration refactor.
* Tweak how ActionPack handles InheritableOptionsCarl Lerche2010-03-031-1/+1
|
* Start refactoring the method of configuring ActionViewCarlhuda2010-03-033-17/+6
|
* ActionDispatch::Request deprecates #request_uriCarl Lerche2010-03-031-1/+1
| | | | * Refactored ActionPatch to use fullpath instead
* Tweak the semantic of various URL related methods of ActionDispatch::RequestCarlhuda2010-03-032-2/+5
|
* Work on deprecating ActionController::Base.relative_url_rootCarlhuda2010-03-031-2/+2
|
* Fix failing Action Pack testsCarlhuda2010-03-021-1/+1
|
* Revert orphaned SharedTestRoutesJeremy Kemper2010-03-011-2/+1
|
* Change AV formats so they can delegate to the controller. Now users (or ↵Carlhuda2010-03-012-17/+23
| | | | plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details...
* Delegate formats to the controllerCarlhuda2010-03-012-2/+27
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-1/+1
|
* WIP: Remove the global routerCarlhuda2010-02-251-1/+2
|
* Bump i18n for new public I18n.normalize_keysJeremy Kemper2010-02-251-1/+1
|
* add time_separator for minutes only if minutes aren't hiddenSantiago Pastorino2010-02-251-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-1/+1
|
* Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. ↵Yehuda Katz2010-02-231-1/+1
| | | | Closes #8994
* Rename erubis_implementation to erb_implementation.José Valim2010-02-221-3/+3
|
* Include missing modules.José Valim2010-02-221-2/+2
|
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-213-3/+3
|
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-213-12/+11
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* Remove empty line and trailing hash, breaks documentation generationDirkjan Bussink2010-02-191-2/+0
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* ruby 1.9 array.to_s returns a string representing an escaped arraySantiago Pastorino2010-02-181-1/+1
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* i18n translate with arrays issue solvedSantiago Pastorino2010-02-181-2/+3
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-162-3/+3
|
* Explicit html_escape removed when not neededSantiago Pastorino and José Ignacio Costa2010-02-143-4/+4
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* html_escape mail_to when encode javascript and not hexSantiago Pastorino and José Ignacio Costa2010-02-141-5/+3
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* content_tag should escape its inputBruno Michel2010-02-147-15/+14
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* simple_format returns a safe buffer escaping unsafe input [Santiago Pastorino]David Heinemeier Hansson2010-02-121-1/+1
|
* Safely concat the ending tag to simple_format or it will be escapedDavid Heinemeier Hansson2010-02-121-1/+1
|
* Fix pluralization for numbers formatted like '1.00'Gabriel Mansour2010-02-071-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix nested attributes with specified collection.José Valim2010-02-071-7/+11
|
* More html_safe strings now use the safe_concat methodSantiago Pastorino and José Ignacio Costa2010-02-055-7/+7
| | | | | | [#3856 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* HTML-escape csrf meta contentsJeremy Kemper2010-02-041-1/+1
|