Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | document setting custom datetime attribute for time_tag helper | Nihad Abbasov | 2013-02-22 | 1 | -0/+2 |
| | |||||
* | fix time_tag helper and update tests to not rely on dynamically generated values | Nihad Abbasov | 2013-02-22 | 1 | -1/+1 |
| | | | | | | | Before `time_tag Date.today` will return `<time datetime="2013-02-14T00:00:00+00:00">February 14, 2013</time>`. This commit fixes time_tag helper to use RFC-3339 full-date format (Y-m-d) in datetime attribute. | ||||
* | Correct bullet content line wrapping | Tim "Roger" Harvey | 2013-02-12 | 1 | -1/+1 |
| | | | | | | The `:prefix` bullet content was not properly wrapping, dropping to the following line because the additional content was not indented properly. With this change, it will now display properly the way `:discard_type` does. | ||||
* | Missing or unneeded require extract_options | Akira Matsuda | 2013-02-01 | 1 | -0/+1 |
| | |||||
* | Merge remote-tracking branch 'docrails/master' | Xavier Noria | 2013-01-26 | 1 | -0/+24 |
|\ | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb guides/code/getting_started/app/controllers/comments_controller.rb | ||||
| * | generic pass before merging docrails | Xavier Noria | 2013-01-26 | 1 | -142/+18 |
| | | |||||
| * | repeating documentation for date and time form helpers | Thiago Pinto | 2013-01-17 | 1 | -0/+148 |
| | | |||||
* | | Don't change the original i18n data | Chris McGrath | 2013-01-17 | 1 | -1/+1 |
| | | |||||
* | | Remove i18n symbol dependency | Chris McGrath | 2013-01-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | date.order is the only key in rails i18n that is required to be a symbol. This patch allows for symbols or strings which means: * No requirement for symbol type in .yml files. A future YAML.safe_load wouldn't need to load symbols * Rails could actually use json rather than yml as the backend | ||||
* | | Rename :value option to :selected, in line with other select helpers | Colin Burn-Murdoch | 2013-01-14 | 1 | -0/+5 |
|/ | | | | | Add tests for time & datetime. Add documentation. | ||||
* | Cleans documentation from Helpers [ci skip] | Alvaro Pereyra | 2012-12-01 | 1 | -2/+0 |
| | |||||
* | Avoid using Integer#/, as it is redefined by the 'mathn' stdlib | Marc-Andre Lafortune | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-11-03 | 1 | -94/+94 |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb activerecord/lib/active_record/attribute_methods.rb guides/source/working_with_javascript_in_rails.md | ||||
| * | Hash Syntax to 1.9 related changes | AvnerCohen | 2012-10-29 | 1 | -94/+94 |
| | | |||||
* | | Make caller attribute in deprecation methods optional | Alexey Gaziev | 2012-10-30 | 1 | -1/+1 |
|/ | |||||
* | Add i18n scope to disance_of_time_in_words. | Steve Klabnik | 2012-10-19 | 1 | -1/+5 |
| | | | | This fixes #733. | ||||
* | Extend date_select helper functionality. | Pavel Nikitin | 2012-10-18 | 1 | -0/+3 |
| | |||||
* | Refactor some date helpers to use merge! | Carlos Antonio da Silva | 2012-09-08 | 1 | -5/+9 |
| | | | | Also just set the hash value instead of merging when it's only one key. | ||||
* | correct handling of date selects when using both disabled and discard options | Vasiliy Ermolovich | 2012-08-25 | 1 | -2/+5 |
| | | | | | | | | | | | | we should take disabled option not only from `html_options` hash but from `options` hash too like `build_select` method does it. So datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true }) datetime_select("post", "updated_at", :discard_minute => true , :disabled => true) both these variants work now closes #7431 | ||||
* | copy edit the time_ago_in_words helper docs | Vijay Dev | 2012-08-23 | 1 | -4/+4 |
| | |||||
* | Extended documentation for `time_ago_in_words` helper | Jay Hayes | 2012-08-20 | 1 | -0/+7 |
| | |||||
* | Add support for start_hour and end_hour options in select_hour helper | Evan Tann | 2012-08-13 | 1 | -1/+11 |
| | | | | Updated documentation to demonstrate start_hour and end_hour options | ||||
* | Removing ==Examples and last blank lines of docs from actionpack | Francesco Rodriguez | 2012-05-15 | 1 | -26/+0 |
| | |||||
* | Change unless + else into if + else | Shaliko Usubov | 2012-05-06 | 1 | -3/+3 |
| | |||||
* | distance_of_time_in_words: Add/tweak comments to understand time intervals ↵ | Elliot Winkler | 2012-04-30 | 1 | -7/+12 |
| | | | | better | ||||
* | distance_of_time_in_words: 45-60 days is about 2 months, not about 1 month | Elliot Winkler | 2012-04-30 | 1 | -2/+3 |
| | |||||
* | 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 |
| | | |||||
* | | 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`. | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-25 | 1 | -0/+3 |
|\ \ | |||||
| * | | 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 |
|/ / | |||||
* | | avoid autolinking by rdoc [ci skip] | Vijay Dev | 2012-04-12 | 1 | -2/+2 |
| | | |||||
* | | datetime_select should work with -/+ infinity dates | Joe Van Dyk | 2012-03-28 | 1 | -1/+1 |
| | | |||||
* | | apply form_for namespace option to date_select | Sergey Nartimov | 2012-03-26 | 1 | -1/+4 |
| | | |||||
* | | Remove code duplication | Rafael Mendonça França | 2012-03-19 | 1 | -11/+11 |
| | | |||||
* | | Fixes issue #5222: DateTimeSelector builds invalid dates on leap day when ↵ | Jey Balachandran | 2012-03-18 | 1 | -6/+6 |
| | | | | | | | | discarding both day and month. | ||||
* | | time_tag support for blocks | Antonio Tapiador del Dujo | 2012-03-18 | 1 | -2/+7 |
| | | |||||
* | | tiny refactoring | Vasiliy Ermolovich | 2012-01-29 | 1 | -12/+6 |
| | | | | | | | | | | use :default option with translate method instead of condition simplify separator method | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-26 | 1 | -0/+24 |
|\ \ | |||||
| * | | Documented the :use_two_digit_numbers option | Lennart Fridén | 2012-01-22 | 1 | -0/+24 |
| | | | |||||
* | | | Merge pull request #4641 from rafaelfranca/date_select-fix-3-2 | José Valim | 2012-01-24 | 1 | -3/+3 |
| | | | | | | | | | | | | date_select fixes [3-2-stable] | ||||
* | | | Raise exception when date.order includes invalid elements | Indrek Juhkam | 2012-01-22 | 1 | -1/+9 |
|/ / | |||||
* | | Do not need of ActionView::Helpers scope since we are inside | Rafael Mendonça França | 2012-01-17 | 1 | -3/+3 |
| | | | | | | | | ActionView::Helpers | ||||
* | | Extract DatetimeSelect | Rafael Mendonça França | 2012-01-17 | 1 | -53/+1 |
| | | |||||
* | | Extract TimeSelect | Rafael Mendonça França | 2012-01-17 | 1 | -5/+1 |
| | | |||||
* | | Extract DateSelect | Rafael Mendonça França | 2012-01-17 | 1 | -5/+1 |
| | | |||||
* | | Revert "Merge pull request #4154 from nashby/include-blank-date-helper" | Piotr Sarnacki | 2011-12-26 | 1 | -2/+2 |
| | | | | | | | | | | This reverts commit 76f0fa6066b78cd8f0e139dff4a7b65c96db5778, reversing changes made to 28cd098d99c52486aecb72aab39105d8abcd52ad. |