Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | fix Helpers::DateHelper with :use_hidden - hide separators | Jan Dupal | 2011-11-22 | 1 | -0/+2 | |
| | | | ||||||
* | | | Merge pull request #6077 from ↵ | José Valim | 2012-04-30 | 1 | -27/+33 | |
|\ \ \ | | | | | | | | | | | | | | | | | dmitriy-kiriyenko/improve_signature_of_time_in_words_helper Replace boolean argument with an options hash. | |||||
| * | | | Replace boolean argument with an options hash. | Dmitriy Kiriyenko | 2012-04-30 | 1 | -27/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces `include_seconds` argument with an option key `include_seconds => true` in options hash. Also `time_ago_in_words` now passes options hash, including a `locale` key, which makes in compatible with `distance_of_time_in_words`. | |||||
* | | | | wrap translate defaults to use translate helper features, closes #1102 | Sergey Nartimov | 2012-04-30 | 1 | -0/+16 | |
|/ / / | ||||||
* | | | Remove `button_to_function` and `link_to_function` helpers | Rafael Mendonça França | 2012-04-30 | 1 | -35/+0 | |
| | | | ||||||
* | | | Add missing require when helpers are used in isolation | Rafael Mendonça França | 2012-04-30 | 1 | -0/+1 | |
| | | | ||||||
* | | | Merge pull request #6059 from rafaelfranca/check_box_inverted | José Valim | 2012-04-29 | 1 | -4/+2 | |
|\ \ \ | | | | | | | | | Change check_box to work inverting the checked and unchecked value | |||||
| * | | | Change check_box to work inverting the checked and unchecked value | Rafael Mendonça França | 2012-04-29 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes: * Boolean with inverted logic * Integer with inverted logic * BigDecimal with inverted logic Fixes #3995 | |||||
* | | | | Add changelog entry and some docs for collection + layout | Carlos Antonio da Silva | 2012-04-29 | 1 | -3/+7 | |
| | | | | ||||||
* | | | | Move layout logic with collection to be handled only with explicit template ↵ | Carlos Antonio da Silva | 2012-04-29 | 1 | -15/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | is given Layout is never an available option when rendering with the shortcut `render @collection`. | |||||
* | | | | Allow access to current object_counter variable from layout when rendering ↵ | Carlos Antonio da Silva | 2012-04-29 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | with partial + collection | |||||
* | | | | Allow layout to access current object being rendered when using render ↵ | Carlos Antonio da Silva | 2012-04-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | partial + object | |||||
* | | | | Allow layout rendering to access current object being rendered when using ↵ | Carlos Antonio da Silva | 2012-04-29 | 1 | -6/+11 | |
|/ / / | | | | | | | | | | partial + collection | |||||
* | / | Lazy load `default_form_builder` if it's passed as a string | Piotr Sarnacki | 2012-04-28 | 1 | -1/+7 | |
| |/ |/| | | | | | closes #3341 | |||||
* | | 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 | |||||
* | | use safe_join in number helper | Sergey Nartimov | 2012-04-26 | 1 | -1/+1 | |
| | | ||||||
* | | fix number_to_human docs [ci skip] | Vijay Dev | 2012-04-26 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-25 | 2 | -1/+4 | |
|\ \ | ||||||
| * | | Missed checked in Form Helper example | Alexey Vakhov | 2012-04-24 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add distance_of_time_in_words example for seconds | Alexey Vakhov | 2012-04-22 | 1 | -0/+3 | |
| | | | ||||||
* | | | Use leap years trick in distance_of_time_in_words only for distances between ↵ | Alexey Vakhov | 2012-04-24 | 1 | -12/+16 | |
| | | | | | | | | | | | | real date points | |||||
* | | | fixed non matching documentation behaviour with method semantics on ↵ | Marcelo Casiraghi | 2012-04-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | distance_of_time_in_words | |||||
* | | | Distance of time in words should work correct if from time > to_time | Alexey Vakhov | 2012-04-24 | 1 | -2/+3 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-21 | 2 | -2/+2 | |
|\ \ | ||||||
| * | | Comma missed | Alexey Vakhov | 2012-04-21 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix example in ActionView::Helpers::FormHelper | Thibaut Courouble | 2012-04-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | converting some tests to assert_raises, and DRY'ing retrieve_variable changes | Tieg Zaharia | 2012-04-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | catch nil.to_sym errors in partial_renderer, and raise ArgumentError instead | Tieg Zaharia | 2012-04-16 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #5814 from lest/patch-4 | Piotr Sarnacki | 2012-04-13 | 1 | -12/+13 | |
|\ \ | | | | | | | don't duplicate default values in text helper | |||||
| * | | don't duplicate default values in text helper | Sergey Nartimov | 2012-04-11 | 1 | -12/+13 | |
| | | | ||||||
* | | | avoid autolinking by rdoc [ci skip] | Vijay Dev | 2012-04-12 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge pull request #5746 from jmbejar/index_method_form_builder | Santiago Pastorino | 2012-04-11 | 1 | -5/+22 | |
|\ \ \ | |/ / |/| | | Add method FormBuilder#index | |||||
| * | | Add index method to FormBuilder. Useful when you use field_for and need to ↵ | Jorge Bejar | 2012-04-11 | 1 | -5/+22 | |
| | | | | | | | | | | | | know the index number into the iteration. | |||||
* | | | no need in temporary array in number_to_phone helper | Sergey Nartimov | 2012-04-09 | 1 | -2/+2 | |
| | | | ||||||
* | | | Adding itemscope to list of boolean attributes. | Frankie Roberto | 2012-04-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | 'itemscope' is defined within HTML5 for use in microdata markup. See http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.ht ml#attr-itemscope | |||||
* | | | Merge pull request #5748 from ai/no_type_in_html5 | Jeremy Kemper | 2012-04-08 | 7 | -63/+63 | |
|\ \ \ | | | | | | | | | Remove unnecessary in HTML 5 type attribute with default value | |||||
| * | | | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 7 | -63/+63 | |
| | | | | ||||||
* | | | | use extract_options! in cycle helper | Sergey Nartimov | 2012-04-07 | 1 | -6/+4 | |
| | | | | ||||||
* | | | | pass default value as argument to fetch | Sergey Nartimov | 2012-04-06 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #5182 from castlerock/content_tag_instead_string | Xavier Noria | 2012-04-05 | 1 | -2/+2 | |
|\ \ \ \ | |_|/ / |/| | | | content_tag used instead string for option | |||||
| * | | | content_tag used instead string for option | Vishnu Atrai | 2012-02-26 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Merge pull request #5707 from morgoth/remove-unnecessary-block-in-fetch | Xavier Noria | 2012-04-05 | 1 | -1/+1 | |
|\ \ \ \ | |_|/ / |/| | | | removed unnecessary block when using fetch | |||||
| * | | | removed unnecessary block when using fetch | Wojciech Wnętrzak | 2012-04-02 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanup | Santiago Pastorino | 2012-04-04 | 1 | -2/+2 | |
|\ \ \ \ | | | | | | | | | | | Updated/changed unneeded tr/gsubs | |||||
| * | | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -2/+2 | |
| |/ / / | ||||||
* / / / | minor elsif/else typo fix | Tieg Zaharia | 2012-04-03 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | add type option to atom feed entry builder | Sergey Nartimov | 2012-04-01 | 1 | -1/+4 | |
| | | | | | | | | | | | | closes #5672 | |||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-01 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Fix quotes at select_tag examples | Anderson Dias | 2012-03-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Small #label method refactoring, thanks @rafaelfranca | Alexey Vakhov | 2012-04-01 | 1 | -3/+2 | |
| | | | |