Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support passing Redcloth options via textilize helper [#2973 state:resolved] | rizwanreza | 2009-08-09 | 1 | -3/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Clean up initializer and some of the internals of PartialRenderer | Yehuda Katz | 2009-08-09 | 1 | -0/+4 |
| | |||||
* | Don't call additional methods on builders passed to the atom_feed helper. | Michael Koziarski | 2009-08-09 | 1 | -1/+1 |
| | | | | | | Additionally, actually test that the atom_feed helper works with :xml as an option. [#1836 state:committed] | ||||
* | Update truncate documentation / examples to more clearly demonstrate its ↵ | Steve St. Martin | 2009-08-08 | 1 | -8/+10 |
| | | | | | | | | actual behavior [#3016 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allow content_tag options to take an array [#1741 state:resolved] ↵ | rizwanreza | 2009-08-08 | 1 | -9/+7 |
| | | | | | | | | | | [rizwanreza, Nick Quaranto] Example: content_tag('p', "limelight", :class => ["song", "play"]) # => <p class="song play">limelight</p> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow radio buttons to work with booleans. | José Valim | 2009-08-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add :include_blank option for select_tag [#1987 status:resolved] | rizwanreza | 2009-08-08 | 1 | -0/+7 |
| | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | remove duplicate call to stringify_keys [#2587 status:resolved] | Steve St. Martin | 2009-08-08 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix number_to_precision rounding error [#2071 state:resolved] | wmoxam | 2009-08-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9.2: implicit argument passing of super from method defined by ↵ | Jeremy Kemper | 2009-08-07 | 1 | -3/+1 |
| | | | | define_method() is not supported | ||||
* | Improve a path in _render_partial | Yehuda Katz | 2009-08-06 | 1 | -0/+4 |
| | |||||
* | Make sure javascript_include_tag/stylesheet_link_tag does not append ".js" ↵ | Matthew Rudy Jacobs | 2009-08-05 | 1 | -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 Love | 2009-07-30 | 2 | -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 Katz | 2009-07-28 | 1 | -6/+24 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 4 | -77/+76 |
| | |||||
* | First effort at new Ajax helpers | Yehuda Katz | 2009-07-20 | 1 | -0/+68 |
| | |||||
* | Rename ActiveRecordHelper to ActiveModelHelper | Yehuda Katz | 2009-07-20 | 2 | -3/+1 |
| | |||||
* | Finish convert_to_object updates | Yehuda Katz | 2009-07-20 | 1 | -1/+3 |
| | |||||
* | Update some tests and add a to_model to form helpers | Yehuda Katz | 2009-07-20 | 2 | -3/+5 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 2 | -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 Katz | 2009-07-19 | 1 | -3/+15 |
| | | | | using ActionView::Base | ||||
* | Adds a audio_tag helper for the HTML5 audio tag. Fixed video_path docs. HTML ↵ | Emilio Tagua | 2009-07-07 | 2 | -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 Lerche | 2009-07-02 | 1 | -3/+3 |
| | |||||
* | My suggestion to fix ticket 2401 [#2401 state:resolved] | Jarl Friis | 2009-07-02 | 1 | -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 Zaharia | 2009-07-02 | 2 | -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 Winkler | 2009-07-01 | 1 | -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> | ||||
* | Make text_area_tag escape contents by default. | Chris Mear | 2009-06-27 | 1 | -0/+5 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2015 state:committed] | ||||
* | Handle missing javascript/stylesheets assets by raising an exception | Christos Zisopoulos | 2009-06-26 | 1 | -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] | ||||
* | Add content_for?(:name) helper to check if content_for(:name) is present ↵ | Darragh Curran | 2009-06-21 | 1 | -0/+22 |
| | | | | | | [#1311 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use errors[field] instead of errors.on(field) | Jeremy Kemper | 2009-06-17 | 1 | -48/+11 |
| | |||||
* | Extract the layout proc into a method, and write documentation explaining ↵ | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -4/+0 |
| | | | | what the proc does in various cases. | ||||
* | Drive the final stake through @content_for_*'s heart! | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -3/+2 |
| | |||||
* | Add :concat option to asset tag helpers to force concatenation. | Joshua Peek | 2009-06-15 | 1 | -6/+18 |
| | | | | | This is useful for working around IE's stylesheet limit. stylesheet_link_tag :all, :concat => true | ||||
* | allow absolute paths for the asset caches | Andrew Kaspick | 2009-06-11 | 1 | -3/+3 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Sanitized the id generated by text_area_tag helper method. ↵ | Stephen Anderson | 2009-06-09 | 1 | -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 Stevenson | 2009-06-09 | 1 | -7/+19 |
| | | | | | | inherited :index options when generating id. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Uses Hash#symbolize_keys | Jeremy Kemper | 2009-06-08 | 1 | -0/+1 |
| | |||||
* | Explicitly qualify constants in BasicObjects | Jeremy Kemper | 2009-06-08 | 1 | -1/+1 |
| | |||||
* | Use as_json instead of rails_to_json | Jeremy Kemper | 2009-06-08 | 1 | -2/+2 |
| | |||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 3 | -4/+6 |
| | | | | | | | * 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 Katz | 2009-06-02 | 3 | -0/+3 |
| | | | TODO: Come up with the minimal core and remove all of these | ||||
* | fix for IE incompatibility of :disable_with in submit_tag | Han Kessels | 2009-06-01 | 1 | -1/+2 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Ruby 1.9: flushing the output buffer preserves its encoding | Jeremy Kemper | 2009-05-28 | 1 | -3/+10 |
| | |||||
* | Added the :rjs render option | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2009-05-18 | 1 | -1/+6 |
|\ | |||||
| * | Truncate helper accepts a :separator for a more legible result [#1807 ↵ | Andy Stewart | 2009-05-18 | 1 | -1/+6 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2009-05-18 | 4 | -8/+16 |
|\| | |||||
| * | Ensure number_to_human_size does not strip zeros from the end [#1763 ↵ | Travis Briggs | 2009-05-17 | 1 | -1/+6 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Ensure auto_link does not ignore multiple trailing punctuations [#2504 ↵ | Lance Ivy | 2009-05-17 | 1 | -6/+7 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Allow strings to be sent as collection to select. | José Valim | 2009-05-15 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> |