aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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