Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | distance_of_time_in_words: 45-60 days is about 2 months, not about 1 month | Elliot Winkler | 2012-04-30 | 1 | -2/+3 | |
| | | ||||||
* | | split CDATA end token in cdata_section helper | Sergey Nartimov | 2012-04-30 | 1 | -1/+5 | |
| | | ||||||
* | | Merge pull request #3726 from JanDupal/fix-date-helper-hidden | José Valim | 2012-04-30 | 1 | -0/+2 | |
|\ \ | | | | | | | fix Helpers::DateHelper with :use_hidden - hide separators | |||||
| * | | 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 | |
| | | | ||||||
* | | | 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 | |||||
* | | | 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 | |
|/ / | ||||||
* | | Comma missed | Alexey Vakhov | 2012-04-21 | 1 | -1/+1 | |
| | | ||||||
* | | Fix example in ActionView::Helpers::FormHelper | Thibaut Courouble | 2012-04-20 | 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 | 6 | -62/+62 | |
|\ \ \ | | | | | | | | | 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 | 6 | -62/+62 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -2/+2 | |
|/ / / | ||||||
* | | | 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 | |
| | | | | ||||||
* | | | | Block version of label should wrapped in field_with_errors in case of error | Alexey Vakhov | 2012-04-01 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | use `symbolize_keys` instead of `dup.symbolize_keys!` | Sergey Nartimov | 2012-03-30 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | datetime_select should work with -/+ infinity dates | Joe Van Dyk | 2012-03-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Cover one more case in auth_token and remote forms | Piotr Sarnacki | 2012-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | If embedding auth_token in remote forms is off and we pass a value for auth_token it should respect it. | |||||
* | | | | config.action_view.embed_authenticity_token_in_remote_forms is true by default | Piotr Sarnacki | 2012-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms` to `false`. This change breaks remote forms that need to work also without javascript, so if you need such behavior, you can either set it to `true` or explicitly pass `:authenticity_token => true` in form options | |||||
* | | | | Added config.action_view.embed_authenticity_token_in_remote_forms | Piotr Sarnacki | 2012-03-28 | 1 | -8/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a regression introduced in 16ee611fa, which breaks remote forms that should also work without javascript. This commit introduces config option that allows to configure this behavior defaulting to the old behavior (ie. include authenticity token in remote forms by default) Conflicts: actionpack/CHANGELOG.md | |||||
* | | | | Merge pull request #5621 from rafaelfranca/fix-2492-master | Jeremy Kemper | 2012-03-27 | 1 | -3/+3 | |
|\ \ \ \ | | | | | | | | | | | Fix label_tag to merge the options hash with the object hash | |||||
| * | | | | Check if the options hash already exists and merge it with the another | Rafael Mendonça França | 2012-03-27 | 2 | -12/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash. Closes #2492 and #5615 |