Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | If partial is rendered in controller, grab format from template | Piotr Sarnacki | 2012-03-27 | 1 | -2/+8 | |
|/ | | | | | | | | | Previously `rendered_format` was set only based on mime types passed in Accept header, which was wrong if first type from Accept was different than rendered partial. The fix is to simply move setting rendered_format to the place where template is available and grab format from the template. If it fails we can fallback to formats passed by Accept header. | |||||
* | apply form_for namespace option to date_select | Sergey Nartimov | 2012-03-26 | 1 | -1/+4 | |
| | ||||||
* | Allow you to force the authenticity_token to be rendered even on remote ↵ | David Heinemeier Hansson | 2012-03-14 | 1 | -5/+9 | |
| | | | | forms if you pass true | |||||
* | Do not include the authenticity token in forms where remote: true as ajax ↵ | David Heinemeier Hansson | 2012-03-14 | 1 | -2/+9 | |
| | | | | forms use the meta-tag value | |||||
* | Just change the formats on first render, closes #5307, closes #5308. | José Valim | 2012-03-07 | 1 | -2/+7 | |
| | ||||||
* | Fix #5238, rendered_format is not set when template is not rendered | Piotr Sarnacki | 2012-03-02 | 1 | -0/+2 | |
| | ||||||
* | Merge branch '3-2-2' into 3-2-stable | Aaron Patterson | 2012-03-01 | 2 | -4/+4 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | * 3-2-2: bumping to 3.2.2 Ensure [] respects the status of the buffer. Merge pull request #4834 from sskirby/fix_usage_of_psql_in_db_test_prepare Merge pull request #5084 from johndouthat/patch-1 updating RAILS_VERSION delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options | |||||
| * | Merge branch '3-2-stable-security' into 3-2-2 | Aaron Patterson | 2012-03-01 | 2 | -4/+4 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | * 3-2-stable-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options | |||||
| | * | use AS::SafeBuffer#clone_empty for flushing the output_buffer | Akira Matsuda | 2012-02-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | fix output safety issue with select options | Sergey Nartimov | 2012-02-20 | 1 | -3/+3 | |
| | | | ||||||
* | | | Add a new line after the textarea opening tag. | Rafael Mendonça França | 2012-02-27 | 1 | -1/+1 | |
|/ / | | | | | | | Closes #393 | |||||
* | | format lookup for partials is derived from the format in which the template ↵ | Santiago Pastorino | 2012-02-22 | 5 | -28/+12 | |
| | | | | | | | | | | | | is being rendered Closes #5025 part 2 | |||||
* | | fix bad docs from f373f296 [ci skip] | Vijay Dev | 2012-02-21 | 1 | -3/+3 | |
| | | ||||||
* | | Don't wrap the raise with ensure | Santiago Pastorino | 2012-02-21 | 1 | -9/+11 | |
| | | ||||||
* | | Restore lookup formats to the previous value after searching for the failing ↵ | Santiago Pastorino | 2012-02-21 | 1 | -1/+3 | |
|/ | | | | view | |||||
* | Use the right format when a partial is missing. | Santiago Pastorino | 2012-02-20 | 1 | -0/+1 | |
| | | | | Closes #5025 | |||||
* | Reset memoized hash keys when new entry added | Chris Kelly | 2012-02-20 | 1 | -0/+1 | |
| | ||||||
* | don't set the hidden checkbox value if it's nil | Damien Mathieu | 2012-01-27 | 1 | -1/+1 | |
| | ||||||
* | check_box helper with :disabled => true generates disabled hidden field. ↵ | Tadas Tamošauskas | 2012-01-27 | 1 | -1/+1 | |
| | | | | fixes #1953 | |||||
* | Revert usage of safe constantize | José Valim | 2012-01-26 | 1 | -1/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | remove extra 'the' | Rohit Arondekar | 2012-01-26 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #4639 from joevandyk/datetime-infinity-select-fix | Aaron Patterson | 2012-01-24 | 1 | -1/+1 | |
|\ | | | | | datetime_select fix for dates of -infinity and +infinity | |||||
| * | datetime_select should work with -/+ infinity dates | Joe Van Dyk | 2012-01-24 | 1 | -1/+1 | |
| | | ||||||
* | | Fix date_select with discard_month and discard_year options | Rafael Mendonça França | 2012-01-24 | 1 | -2/+2 | |
| | | | | | | | | Closes #4553 and #4633 | |||||
* | | Fix date_select nil and blank and order case | Indrek Juhkam | 2012-01-24 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #4604 from ihid/3-2-stable | José Valim | 2012-01-22 | 1 | -0/+1 | |
|\ | | | | | 3-2-stable: Fixed regression - unable to use a range as choices for form.select. | |||||
| * | Allow form.select to accept ranges. | Jeremy Walker | 2012-01-22 | 1 | -0/+1 | |
| | | ||||||
* | | document `:raise` option support for several helpers [ci skip] | Jonathan Roes | 2012-01-21 | 1 | -0/+3 | |
|/ | ||||||
* | Fix small typo in mail_to docs in url_helper.rb | Simon Baird | 2012-01-19 | 1 | -1/+1 | |
| | ||||||
* | Infer currency negative format from positive one. | Tsutomu Kuroda | 2012-01-05 | 1 | -0/+1 | |
| | | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'. Cherry-picked from master (6724c8c8) | |||||
* | copy edits | Vijay Dev | 2012-01-04 | 1 | -10/+7 | |
| | ||||||
* | improve doc in number helper options | Pablo Ifran | 2012-01-04 | 1 | -19/+57 | |
| | ||||||
* | Add font_path helper method | Santiago Pastorino | 2012-01-03 | 1 | -0/+14 | |
| | ||||||
* | Fixed documentation error in code examples from form_tag_helper.rb | Alejandro Andrés | 2011-12-31 | 1 | -2/+2 | |
| | ||||||
* | revise some doc changes | Vijay Dev | 2011-12-29 | 1 | -9/+4 | |
| | ||||||
* | Fixed formatting of code examples in form_tag_helper.rb | Alejandro Andrés | 2011-12-29 | 1 | -4/+4 | |
| | ||||||
* | raises an ArgumentError if no valid options are given to ↵ | Lucas Mazza | 2011-12-21 | 1 | -0/+2 | |
| | | | | | | TemplateRenderer#determine_template Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Check for response to `#last` instead of `#first`. | Brian Rose | 2011-12-20 | 1 | -1/+1 | |
| | ||||||
* | Ensure option for select helper responds to `#first` before comparison. | Brian Rose | 2011-12-20 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #4064 from nashby/date-helper-field-error-proc | José Valim | 2011-12-20 | 3 | -11/+11 | |
|\ | | | | | fix adding field_with_errors to date selects, closes #3487 | |||||
| * | fix adding field_with_errors to date selects, closes #3487 | Vasiliy Ermolovich | 2011-12-20 | 3 | -11/+11 | |
| | | ||||||
* | | Check if source is encoding aware. | José Valim | 2011-12-20 | 1 | -32/+30 | |
| | | ||||||
* | | Do not hard code encoding to UTF8 | José Valim | 2011-12-20 | 2 | -48/+54 | |
| | | ||||||
* | | don't encode an UTF-8 encoded template | Xu Pan | 2011-12-20 | 1 | -1/+1 | |
|/ | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Merge pull request #3780 from marcbowes/master | Vijay Dev | 2011-12-16 | 1 | -7/+3 | |
|\ | | | | | Fix favicon_link_tag help text | |||||
| * | * A `/` is required if you want to explicitly skip the assets directory. ↵ | Marc Bowes | 2011-11-28 | 1 | -7/+3 | |
| | | | | | | | | | | This is important because `public/assets` is typically git-ignored. * The asset id is no longer generated. | |||||
* | | fix separator insertion in date_select helper | Sergey Nartimov | 2011-12-14 | 1 | -1/+2 | |
| | | ||||||
* | | Clean up details keys before some tests to expire the cache. | José Valim | 2011-12-14 | 1 | -0/+4 | |
| | | ||||||
* | | dup the details hash if a key has already been set for this object | Aaron Patterson | 2011-12-13 | 1 | -0/+1 | |
| | | ||||||
* | | locale and default_locale may be the same, so uniq the array | Aaron Patterson | 2011-12-13 | 1 | -1/+1 | |
| | |