Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 1 | -2/+2 |
| | |||||
* | Add Date#rfc3339 and Date#iso8601 to AS | Santiago Pastorino | 2011-02-13 | 1 | -0/+1 |
| | |||||
* | Allow for the format of time_tag in AP to be changed via an option argument. | Josh Kalderimis | 2011-02-12 | 1 | -3/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Added time_tag helper to AP for HTML5 time tag [#5919 state:resolved] | Sjoerd Andringa | 2011-02-12 | 1 | -0/+19 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | patching to ensure separator is printed with order [#5816 state:resolved] | Aditya Sanghi | 2010-11-11 | 1 | -0/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | The deleted examples are redundant. | Aditya Sanghi | 2010-10-17 | 1 | -11/+0 |
| | | | | They do not reveal anything new that is not already been explained in preceding example. | ||||
* | Avoid uninitialized variable warning. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 |
| | |||||
* | Add missing require. | José Valim | 2010-08-27 | 1 | -1/+2 |
| | |||||
* | Removing some unuseful begin/end and refactor prompt_option_tag a bit | Carlos Antonio da Silva | 2010-08-27 | 1 | -16/+11 |
| | | | | | | [#5469 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | fixing the ternary operation where the logic is very confusing. | Neeraj Singh | 2010-07-18 | 1 | -1/+2 |
| | | | | | | [#5136 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -2/+4 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | Fixed date_select date_separator when discard_month and/or discard_day are ↵ | Thibaud Guillaume-Gentil | 2010-06-20 | 1 | -2/+4 |
| | | | | | | | | | | | | true [#4856 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Adds title and description where needed. | Rizwan Reza | 2010-06-16 | 1 | -0/+2 |
|/ | |||||
* | removing the extra assignment statement [#4432 state:resolved] | Neeraj Singh | 2010-04-30 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix form builder and form helpers inconsistencies [#4432 state:resolved] | Neeraj Singh | 2010-04-29 | 1 | -43/+33 |
| | | | | | | | | * datetime_select and select_datetime should be consistent as much as possible * date_select and select_date should be consistent as much as possible * time_select and select_time should be consistent as much as possible Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Adds disable option to date_helpers generated hidden fields when ↵ | Santiago Pastorino | 2010-03-05 | 1 | -1/+2 |
| | | | | | | | | html_options specifies it. ht by Marc Schütz [#3807 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | add time_separator for minutes only if minutes aren't hidden | Santiago Pastorino | 2010-02-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | content_tag should escape its input | Bruno Michel | 2010-02-14 | 1 | -3/+3 |
| | | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local> | ||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -7/+7 |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | ||||
* | Fixed that much of DateHelper wouldn't return html_safe? strings [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -5/+5 |
| | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 1 | -3/+3 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵ | John Trupiano | 2009-09-28 | 1 | -10/+19 |
| | | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed] | ||||
* | Enhancing distance_of_time_in_words to prefix year output with over and ↵ | Jay Pignata | 2009-09-28 | 1 | -4/+7 |
| | | | | | | | about depending upon how many months have elapsed Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3106 state:committed] | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -5/+5 |
| | |||||
* | Merge docrails | lifo | 2009-04-17 | 1 | -3/+3 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-03-16 | 1 | -2/+2 |
| | |||||
* | Stops date select helpers from defaulting the selected date to today if ↵ | Sam Oliver | 2009-02-13 | 1 | -1/+1 |
| | | | | | | | :prompt option has been used Signed-off-by: Michael Koziarski <michael@koziarski.com> [#561 state:resolved] | ||||
* | Fix date_select within fields_for with an index [#1666 state:resolved] ↵ | Josh | 2009-01-16 | 1 | -5/+5 |
| | | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Use I18n for date/time select helpers prompt text [#561 state:resolved] | Sam Oliver | 2008-12-22 | 1 | -6/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added prompt options to date helpers [#561 state:resolved] | Sam Oliver | 2008-12-21 | 1 | -0/+79 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | use :en as a default locale (in favor of :en-US) | Sven Fuchs | 2008-11-18 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Fix regression bug that made date_select and datetime_select raise a Null ↵ | Bernardo de Pádua | 2008-11-04 | 1 | -2/+2 |
| | | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Merge with docrails. Also add a rake task to generate guides in your rails ↵ | Pratik Naik | 2008-10-21 | 1 | -6/+6 |
| | | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse. | ||||
* | Refactor DateHelper to use DateTimeSelector presenter pattern | Clemens Kofler | 2008-08-07 | 1 | -198/+378 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Refactor DateHelper and improve test coverage [#665 state:resolved] | Clemens Kofler | 2008-07-21 | 1 | -156/+142 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Merge branch 'master' into i18n-merge | Jeremy Kemper | 2008-07-17 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb | ||||
| * | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -2/+2 |
| | | |||||
* | | merge forward to current rails/master | Sven Fuchs | 2008-07-16 | 1 | -19/+31 |
|\| | |||||
| * | Allow date helpers to ignore date hidden field tags. [#503 state:resolved] | miloops | 2008-07-04 | 1 | -2/+5 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Remove unused local_binding option to InstanceTag's Constructor | Michael Koziarski | 2008-07-03 | 1 | -3/+3 |
| | | |||||
| * | Remove nested ternary operators from select_year in favour of conditionals. | Michael Koziarski | 2008-07-03 | 1 | -11/+20 |
| | | |||||
| * | Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] ↵ | Pratik Naik | 2008-06-29 | 1 | -3/+3 |
| | | | | | | | | | | | | [Pascal Ehlert] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | align with changes in i18n | Sven Fuchs | 2008-07-06 | 1 | -3/+2 |
| | | |||||
* | | remove core extensions in favor of I18n#translate and I18n#localize | Sven Fuchs | 2008-07-02 | 1 | -2/+3 |
| | | |||||
* | | remove call to self.locale from helpers | Sven Fuchs | 2008-06-23 | 1 | -4/+1 |
| | | |||||
* | | check self.locale instead of request.locale in helpers | Sven Fuchs | 2008-06-22 | 1 | -2/+2 |
| | | |||||
* | | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -33/+48 |
|/ |