aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Stop referring to Atom as "ATOM"Tom Stuart2012-02-051-1/+1
| | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom
* Move escape_once logic to ERB::Util, where it belongs toCarlos Antonio da Silva2012-02-011-1/+1
| | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it.
* Merge pull request #4672 from carlosantoniodasilva/av-url-helperJosé Valim2012-02-011-23/+13
|\ | | | | Improvements on some url helper methods and tests
| * Refactor button_to to avoid calling method#to_s twiceCarlos Antonio da Silva2012-01-251-23/+13
| | | | | | | | | | Reorganize button_to implementation a bit. Also small refactor on current_page? method.
* | Remove slash from favicon_link_tag method attributeLucas Caton2012-01-311-2/+2
| |
* | Remove eval calls, use send.. eval is evilCarlos Antonio da Silva2012-01-311-3/+3
| |
* | Refactor select tag form helpersCarlos Antonio da Silva2012-01-312-11/+25
| |
* | tiny refactoringVasiliy Ermolovich2012-01-291-12/+6
| | | | | | | | | | use :default option with translate method instead of condition simplify separator method
* | Do not generate label for attribute when giving nilCarlos Antonio da Silva2012-01-261-1/+1
| |
* | reuse common video/audio tags code and do not modify optionsSergey Nartimov2012-01-261-25/+21
| |
* | do not modify options in image_tagSergey Nartimov2012-01-261-2/+2
| |
* | allow to pass multiple sources to audio/video tags without using arraySergey Nartimov2012-01-251-12/+20
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-262-1/+25
|\ \ | |/ |/|
| * remove extra 'the'Rohit Arondekar2012-01-251-1/+1
| |
| * Documented the :use_two_digit_numbers optionLennart Fridén2012-01-221-0/+24
| |
* | Do not mutate given options hash in number helpersCarlos Antonio da Silva2012-01-251-9/+7
| |
* | Refactor percentage helperCarlos Antonio da Silva2012-01-251-1/+2
| |
* | Refactor float number parsingCarlos Antonio da Silva2012-01-251-25/+9
| |
* | Improve getting translations for number helpersCarlos Antonio da Silva2012-01-251-10/+13
| |
* | Make audio_tag able to receive multiple sourcesJanko Marohnić2012-01-251-3/+10
| |
* | Make path_to_video in video_tag apply to each sourceJanko Marohnić2012-01-251-1/+1
| |
* | Merge pull request #4641 from rafaelfranca/date_select-fix-3-2José Valim2012-01-241-3/+3
| | | | | | | | date_select fixes [3-2-stable]
* | Raise a better error if anyone wants to create your own ↵Rafael Mendonça França2012-01-231-2/+3
| | | | | | | | ActionView::Helpers::Tags::Base child and do not implement the render method
* | properly memoize {field_type,select_type} as class variableAkira Matsuda2012-01-232-2/+14
| |
* | no need to module_eval here anymoreAkira Matsuda2012-01-231-1/+3
| |
* | Use ActiveSupport::Autoload to autoload the tagsRafael Mendonça França2012-01-231-23/+25
| |
* | Raise exception when date.order includes invalid elementsIndrek Juhkam2012-01-221-1/+9
| |
* | Merge pull request #4574 from ihid/masterJosé Valim2012-01-211-0/+1
|\ \ | | | | | | Fixed regression - unable to use a range as choices for form.select.
| * | Fix inconsistent ability to use a range as choices for select_tag.Jeremy Walker2012-01-211-0/+1
| | |
* | | Merge pull request #4588 from carlosantoniodasilva/remove-require-csrfJosé Valim2012-01-211-2/+0
|\ \ \ | |_|/ |/| | Remove not used requires from csrf helper file and test
| * | Remove not used requires from csrf helper file and testCarlos Antonio da Silva2012-01-211-2/+0
| |/ | | | | | | | | These requires were added in a87b92d and the implementation changed in 2cdc1f0, removing the need for them.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-211-0/+3
|\ \ | |/ |/|
| * document `:raise` option support for several helpers [ci skip]Jonathan Roes2012-01-201-0/+3
| |
* | Refactor translations retrievalRafael Mendonça França2012-01-201-18/+15
| |
* | Remove code duplicationRafael Mendonça França2012-01-201-34/+19
| |
* | No need to check html_safe? twiceRafael Mendonça França2012-01-201-2/+1
| |
* | Added format to percentageRodrigo Flores2012-01-201-2/+9
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-191-1/+1
|\
| * Fix small typo in mail_to docs in url_helper.rbSimon Baird2012-01-191-1/+1
| |
* | Extract method_tagRafael Mendonça França2012-01-192-2/+6
| |
* | Refactor button_to helper to use token_tag methodRafael Mendonça França2012-01-192-13/+10
|/
* Refactor FormBuilder arguments and default configCarlos Antonio da Silva2012-01-181-10/+7
| | | | | | | | | | * Do not reopen AV::Base to define default form builder Inside the load hook we are already in AV::Base context. * Do not pass the given block to the form builder The block is evaluated in fields_for context using capture, with the builder as argument. This means we do not need to give the block to the FormBuilder itself.
* Merge pull request #4509 from rafaelfranca/form_tag-refactorJosé Valim2012-01-172-6/+5
|\ | | | | Refactor form_for and form_tag
| * No need to call html_safe since concat two SaffeBuffers always results in a ↵Rafael Mendonça França2012-01-171-1/+1
| | | | | | | | SafeBuffer
| * Use block syntax to avoid code duplicationRafael Mendonça França2012-01-171-3/+3
| |
| * No need to create a SafeBuffer since form_tag_html always rerturn a SafeBufferRafael Mendonça França2012-01-171-2/+1
| |
* | Fix errors when running entire suite due to class name collisionCarlos Antonio da Silva2012-01-181-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 alwaysCarlos Antonio da Silva2012-01-181-7/+6
| | | | | | | | | | Only check for options and prefix arguments order once when running content_tag_for with a collection.
* | Do not mutate options hashCarlos Antonio da Silva2012-01-181-2/+2
| |
* | Remove capture.Tim Cooper2012-01-181-1/+1
| |