aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Make sure javascript_include_tag/stylesheet_link_tag does not append ".js" ↵Matthew Rudy Jacobs2009-08-051-10/+14
| | | | | | or ".css" onto external urls [#1664 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix tag helpers so that all HTML element boolean attributes render according ↵Marc Love2009-07-302-2/+5
| | | | | | to the specs. Added all boolean attributes listed in the XHTML 1.0 specs (http://www.w3.org/TR/xhtml1/guidelines.html) and HTML 5 specs (http://www.whatwg.org/specs/web-apps/current-work). HTML 5 boolean attribute rendering was broken in commit 1e2d7229602f467cfdc0ef606b5ef8a5566a1501 / [#2864 state:resolved]. Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Add support for error_messages_for(@obj)Yehuda Katz2009-07-281-6/+24
|
* Merge docrailsPratik Naik2009-07-254-77/+76
|
* First effort at new Ajax helpersYehuda Katz2009-07-202-0/+69
|
* Rename ActiveRecordHelper to ActiveModelHelperYehuda Katz2009-07-203-5/+3
|
* Finish convert_to_object updatesYehuda Katz2009-07-201-1/+3
|
* Update some tests and add a to_model to form helpersYehuda Katz2009-07-204-5/+12
|
* Define ActiveModel API ComplianceYehuda Katz2009-07-202-9/+28
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* Move default_form_builder to ActionView so it'll work in environments not ↵Yehuda Katz2009-07-191-3/+15
| | | | using ActionView::Base
* Separate ActionView::Context so something else can easily be made into an AV ↵Yehuda Katz2009-07-194-11/+46
| | | | context
* Simplify required "ActionView compliant" APIYehuda Katz2009-07-192-4/+8
|
* Adds a audio_tag helper for the HTML5 audio tag. Fixed video_path docs. HTML ↵Emilio Tagua2009-07-072-5/+36
| | | | | | attributes values should be true or false not attribute's name. [#2864 state:resolved] Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local>
* Removed unnecessary calls to image_path and hash lookups [#2827 state:resolved]Yehuda Katz + Carl Lerche2009-07-021-3/+3
|
* My suggestion to fix ticket 2401 [#2401 state:resolved]Jarl Friis2009-07-021-4/+6
| | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Adds a video_tag helper for the HTML5 video tag (similar to how the ↵Tieg Zaharia2009-07-022-1/+69
| | | | | | image_tag works) (tests included); removes a duplicate test line for image_tag; adds boolean attributes for video tag to tag()'s boolean attributes Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Patch FormTagHelper so that when a form tag is created, the div which holds ↵Elliot Winkler2009-07-011-2/+2
| | | | | | the form authenticity token is set to display:inline [#2846 state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Fix pattern to match various magic comment formatsAkira Matsuda2009-07-011-1/+1
|
* Make text_area_tag escape contents by default.Chris Mear2009-06-271-0/+5
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2015 state:committed]
* Handle missing javascript/stylesheets assets by raising an exceptionChristos Zisopoulos2009-06-261-4/+28
| | | | | | | | | | | | An exception will be raised if a local javascript/stylesheet file included by the stylesheet_link_tag or javascript_include_tag can not be found. When caching is enabled, we use atomic_write to ensure that the cache file is not created with zero length. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2738 state:committed]
* Try speeding up rails bootingYehuda Katz + Carl Lerche2009-06-252-3/+3
|
* Remove deprecated implicit ivar assignmentJoshua Peek2009-06-251-26/+0
|
* Add content_for?(:name) helper to check if content_for(:name) is present ↵Darragh Curran2009-06-211-0/+22
| | | | | | [#1311 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Minor ActionView cleanupYehuda Katz + Carl Lerche2009-06-182-8/+5
|
* Fix typoYehuda Katz + Carl Lerche2009-06-181-1/+1
|
* Use errors[field] instead of errors.on(field)Jeremy Kemper2009-06-171-48/+11
|
* Extract the layout proc into a method, and write documentation explaining ↵Yehuda Katz + Carl Lerche2009-06-172-9/+38
| | | | what the proc does in various cases.
* Drive the final stake through @content_for_*'s heart!Yehuda Katz + Carl Lerche2009-06-174-29/+19
|
* Cleaning up if defined?(ActionController::Http) blocks from the pre new base ↵Yehuda Katz + Carl Lerche2009-06-173-41/+15
| | | | era.
* Rename path.rb to resolver.rbYehuda Katz + Carl Lerche2009-06-172-1/+1
|
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-172-126/+125
|
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-175-5/+5
|
* Add :concat option to asset tag helpers to force concatenation.Joshua Peek2009-06-151-6/+18
| | | | | This is useful for working around IE's stylesheet limit. stylesheet_link_tag :all, :concat => true
* allow absolute paths for the asset cachesAndrew Kaspick2009-06-111-3/+3
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Sanitized the id generated by text_area_tag helper method. ↵Stephen Anderson2009-06-091-1/+1
| | | | | | text_area_tag('item[description]') should return: <textarea id="item_description" name="item[description]"></textarea> instead of: <textarea id="item[description]" name="item[description]"></textarea> The old id was causing HTML validation failures. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Made label target radio button tags with values. Radio button now respects ↵David Stevenson2009-06-091-7/+19
| | | | | | inherited :index options when generating id. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Pull autoload fix from 2-3-stableMichael Koziarski2009-06-091-1/+1
|
* Uses Hash#symbolize_keysJeremy Kemper2009-06-081-0/+1
|
* Explicitly qualify constants in BasicObjectsJeremy Kemper2009-06-081-1/+1
|
* Use as_json instead of rails_to_jsonJeremy Kemper2009-06-081-2/+2
|
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-084-4/+8
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* Add explicit requirement in a few cases it was missing.Yehuda Katz2009-06-023-0/+3
| | | TODO: Come up with the minimal core and remove all of these
* Ensure ERB source begins with the encoding commentJeremy Kemper2009-06-012-2/+8
|
* fix for IE incompatibility of :disable_with in submit_tagHan Kessels2009-06-011-1/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Ruby 1.9: ERB template encoding using a magic comment at the top of the fileJeremy Kemper2009-05-282-8/+14
|
* Ruby 1.9: flushing the output buffer preserves its encodingJeremy Kemper2009-05-281-3/+10
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-1/+1
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵Yehuda Katz + Carl Lerche2009-05-221-1/+2
| | | | new base with regards to rendering layouts.
* Get controller/layout_test.rb running on new base except for ↵Yehuda Katz + Carl Lerche2009-05-222-1/+5
| | | | ActionController::Base.exempt_from_layout which is going to be deprecated.
* Make assertion tests pass with the new basePratik Naik2009-05-221-1/+1
|