Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move ActionController::RecordIdentifier to ActionView | Piotr Sarnacki | 2012-08-28 | 1 | -3/+1 |
| | | | | | | | Since it's more about DOM classes and ids it belongs to Action View better. What's more, it's more convenient to make it part of Action View to follow the rule that Action Pack can depend on Action View, but not the other way round. | ||||
* | refactor content_tag_for helper | Sergey Nartimov | 2012-04-26 | 1 | -3/+3 |
| | | | | | - do not use merge! just for 2 values - there is no need to check block arity | ||||
* | Fix errors when running entire suite due to class name collision | Carlos Antonio da Silva | 2012-01-18 | 1 | -2/+2 |
| | | | | | | | | | The Post class is created everywhere in the test suite, and due to that when applying the Array() logic to refactor content_tag_for, some other change to the Post class was breaking record tag tests. The solution is to rename the class to not collide with others already defined in the test suite. | ||||
* | Refactor content tag to not detect options Hash always | Carlos Antonio da Silva | 2012-01-18 | 1 | -7/+6 |
| | | | | | Only check for options and prefix arguments order once when running content_tag_for with a collection. | ||||
* | Do not mutate options hash | Carlos Antonio da Silva | 2012-01-18 | 1 | -2/+2 |
| | |||||
* | Remove capture. | Tim Cooper | 2012-01-18 | 1 | -1/+1 |
| | |||||
* | Always treat the object passed to content_tag_for as an array. | Tim Cooper | 2012-01-18 | 1 | -7/+3 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-09-08 | 1 | -2/+2 |
|\ | |||||
| * | Fix grammar for content_tag_for and div_for docs. | Hendy Tanata | 2011-09-05 | 1 | -2/+2 |
| | | |||||
* | | Make sure that result from content_tag_for with collection is html_safe | Prem Sichanugrist | 2011-09-05 | 1 | -1/+1 |
|/ | | | Thank you @spastorino for catching the empty test in b84cee0, as I totally forgot that I still have to make it html_safe. | ||||
* | Make `content_tag_for` and `div_for` accepts the array of records | Prem Sichanugrist | 2011-09-04 | 1 | -5/+51 |
| | | | | | | | | | | | | | | | So instead of having to do this: @items.each do |item| content_tag_for(:li, item) do Title: <%= item.title %> end end You can now do this: content_tag_for(:li, @items) do |item| Title: <%= item.title %> end | ||||
* | Remove HTML escaping from Record Tag Helper docs. | Semyon Perepelitsa | 2011-04-22 | 1 | -3/+3 |
| | |||||
* | Speed up content_tag_for by simplifying needed logic | wycats | 2010-08-31 | 1 | -3/+3 |
| | |||||
* | No need to delegate. Simply include the whole RecordIdentifier module. | José Valim | 2010-07-21 | 1 | -0/+4 |
| | |||||
* | Added titles and description. | Rizwan Reza | 2010-06-16 | 1 | -0/+1 |
| | |||||
* | Updated documentation for block helpers in record_tag_helper.rb | Jeroen van Dijk | 2010-03-12 | 1 | -4/+4 |
| | |||||
* | API change: content_tag_for outputs prefixed class name | Joshua Peek | 2009-10-08 | 1 | -3/+3 |
| | |||||
* | Ensure that calling content_tag_for in a helper doesn't cause duplicate output. | Tom Lea | 2008-08-29 | 1 | -3/+3 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#871 state:committed] | ||||
* | Don't pass block binding to concat | Jeremy Kemper | 2008-06-02 | 1 | -3/+2 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Tests for div_for and content_tag_for helpers. Closes #11223 [thechrisoshow] | Pratik Naik | 2008-03-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Standardize on using hyphens rather than colons to separate option names ↵ | Marcel Molina | 2007-11-06 | 1 | -1/+1 |
| | | | | | | from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added record identifications to FormHelper#form_for and ↵ | David Heinemeier Hansson | 2007-05-14 | 1 | -52/+56 |
| | | | | | | PrototypeHelper#remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added the first part of Simply Helpful to core. The rest is pending a clean ↵ | David Heinemeier Hansson | 2007-04-30 | 1 | -0/+55 |
integartion of polymorphic urls [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |