aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert benchmark helper regression. Use a #capture within a #benchmarkJeremy Kemper2013-01-141-2/+3
| | | | | | | | | | | | | block. Breaks benchmark calls that return non-String values otherwise. Revert "add benchmark helper that works in erb" This reverts commit 904e544cc8f5846de7c31827bb5556c6a238c0de. Conflicts: actionpack/lib/action_view/helpers.rb actionpack/lib/action_view/helpers/benchmark_helper.rb actionpack/test/template/benchmark_helper_test.rb
* Removed useless "extend SanitizeHelper::ClassMethods"Andrey Samsonov2012-10-151-4/+0
| | | | | Since SanitizeHelper includes ActiveSupport::Concern, extending of it ClassMethods is no needed.
* Split asset url helpers into seperate AssetUrlHelperJoshua Peek2012-10-121-0/+2
|
* add benchmark helper that works in erbSergey Nartimov2012-01-071-3/+2
|
* Move the last pockets of Sprockets stuff into the Sprockets directorywycats2011-05-231-2/+0
|
* More AV::Base cleanup.José Valim2011-05-041-0/+2
|
* Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats).José Valim2011-05-011-0/+2
|
* removes ActionView::Helpers::PrototypeHelperXavier Noria2011-04-131-2/+0
|
* removes ActionView::Helpers::ScriptaculousHelperXavier Noria2011-04-131-2/+0
|
* Add SprocketsHelperJoshua Peek2011-03-281-0/+2
|
* Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-2/+2
| | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵José Valim2011-02-101-2/+2
| | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930.
* Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵Josh Kalderimis2011-02-101-2/+2
| | | | the same same.
* There is no DeprecatedBlockHelpers in AV, so remove itCarlos Antonio da Silva2010-09-261-1/+0
|
* No need to delegate. Simply include the whole RecordIdentifier module.José Valim2010-07-211-2/+0
|
* Refactored url_for in AV to have its own instances of the helpers instead of ↵wycats2010-04-031-6/+3
| | | | proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
* Use ActiveSupport::Autoload for view helpers. [#4237 state:resolved]Sam Elliott and Ryan Bigg2010-03-271-24/+26
| | | Signed-off-by: wycats <wycats@gmail.com>
* Deprecate block_called_from_erb? pending a solution for getting it into appsCarlhuda2010-03-091-0/+1
|
* Expose CSRF tag for UJS adaptersJeremy Kemper2010-02-041-0/+2
|
* Drop AjaxHelperJoshua Peek2010-01-301-1/+0
|
* Revert "Merge branch 'rails/master' into ujs"Joshua Peek2010-01-301-3/+5
| | | | | | | | | | | This reverts commit 3aa1ea1ae4baa4a03d03644e798eeb98a4745785, reversing changes made to 2c12a71378d2146c822acb389b00b866f6420ff5. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb
* moving include of ScriptaculousHelper into PrototypeHelper, ActionView ↵Erik St. Martin2010-01-271-2/+0
| | | | should know as little as possible about individual frameworks
* restructure compatibility module so it is no longer a childStephen St. Martin2010-01-271-2/+2
|
* Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵Erik St. Martin2010-01-271-2/+2
| | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
* Unify benchmark APIs.José Valim2009-10-151-2/+4
|
* Switch to on-by-default XSS escaping for rails.Michael Koziarski2009-10-081-0/+2
| | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
* First effort at new Ajax helpersYehuda Katz2009-07-201-0/+1
|
* Rename ActiveRecordHelper to ActiveModelHelperYehuda Katz2009-07-201-2/+2
|
* Pull autoload fix from 2-3-stableMichael Koziarski2009-06-091-1/+1
|
* simplify console with helpersJoshua Peek2008-11-231-0/+1
|
* use autoload instead of explicit requires for ActionViewJoshua Peek2008-11-231-5/+23
|
* Remove the country_select helper.Michael Koziarski2008-09-181-1/+0
| | | | | | | | We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did. If you want the old list back you can install the plugin: ruby script/plugin install git://github.com/rails/country_select.git
* Include all helpers into ActionView::HelperJoshua Peek2008-08-251-0/+39