aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* fix destructive stringify_keys for label_tagWaynn Lue2011-08-111-2/+2
|
* fix stringify_keys destructive behavior for most FormTagHelper functionsWaynn Lue2011-08-031-4/+4
| | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355
* remove redundant calls to stringify_keysWaynn Lue2011-07-291-2/+2
|
* Rename class method to_path to _to_path and make it explicit that it is an ↵José Valim2011-07-281-2/+2
| | | | internal method.
* Merge pull request #2034 from Casecommons/to_pathJosé Valim2011-07-281-2/+6
|\ | | | | Allow ActiveModel-compatible instances to define their own partial paths
| * Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-2/+6
| | | | | | | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* | Improve performance and memory usage for options_for_select with Ruby 1.8.7Christos Zisopoulos2011-07-271-2/+2
| |
* | Merge pull request #2095 from dgeb/issue-2094Aaron Patterson2011-07-261-1/+1
|\ \ | | | | | | Fixes overriding of options[:html][:remote] in form_for() (Issue #2094)
| * | fixed problem in which options[:html][:remote] would be overridden in ↵Dan Gebhardt2011-07-151-1/+1
| | | | | | | | | | | | form_for() - fixes #2094
* | | use_sprockets is not used anymoreSantiago Pastorino2011-07-261-5/+1
| |/ |/|
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-245-9/+9
|\ \
| * | Missed a few instances of British English spelling in the last commitOemuer Oezkir2011-07-243-3/+3
| | | | | | | | | | | | oh and obviously I meant according to Webster, not Weber
| * | Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-244-8/+8
| | | | | | | | | | | | | | | | | | English to American English(according to Weber)
| * | now the documentation reflects the actual returned value for a missing ↵gnagno2011-07-231-1/+1
| | | | | | | | | | | | translation
* | | checked all .rb files in the project tree for missing magic comments, one ↵Xavier Noria2011-07-231-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | was missing Came with this one-liner for this: find . -name '*.rb' | \ xargs chardet | \ grep -v ascii | \ cut -d: -f1 -s | \ xargs -n1 ruby -0777 -ne 'puts $FILENAME if $_ !~ /#.*coding:\s*utf/i' Welcome $_.
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-232-51/+84
|\ \ | |/ |/|
| * little details seen while doing a pass through what's new in docrailsXavier Noria2011-07-232-7/+7
| |
| * use the doc conventions for arguments in all casesRay Baxter2011-07-201-3/+3
| | | | | | | | | | See https://github.com/lifo/docrails/commit/5c71a4e76897844ab6aeabb581549d981d9768c9#commitcomment-485675
| * Update form helper documentation to match code.Paul Battley2011-07-191-2/+2
| | | | | | | | Change d3cfee11 removed the automatically generated object_name_submit id attributes on form submit elements. This makes the documentation match.
| * reword select_date's behaviour clearly when an incomplete options array is ↵Vijay Dev2011-07-201-3/+3
| | | | | | | | passed
| * minor corrections in form helpers guide and api docsVijay Dev2011-07-201-2/+2
| |
| * examples for telephone_field, url_field and email_fieldRay Baxter2011-07-171-0/+12
| |
| * document options to search_fieldRay Baxter2011-07-171-1/+22
| |
| * use correct in descriptionRay Baxter2011-07-171-1/+1
| |
| * we're talking about days here, not hoursRay Baxter2011-07-171-1/+1
| |
| * wording between select_second, select_minute andRay Baxter2011-07-171-2/+2
| | | | | | select_hour should be consistent and correct
| * fix typoRay Baxter2011-07-171-1/+1
| |
| * make documentation agree with test expectations andRay Baxter2011-07-171-2/+2
| | | | | | | | | | | | behaviour See: test_select_date_with_incomplete_order in actionpack/test/template/date_helper_test.rb
| * document that second tags are also returned by defaultRay Baxter2011-07-161-1/+1
| |
| * there is no Time.today method, use Time.nowRay Baxter2011-07-161-2/+2
| |
| * remove stray characterRay Baxter2011-07-161-1/+1
| |
| * disambiguate uses of post/POST by using "article"Ray Baxter2011-07-161-28/+28
| | | | | | | | for the related variable passed to date_select, time_select and datetime_select
| * clarify that classes that include DateHelper canRay Baxter2011-07-161-2/+2
| | | | | | also manipulate times
| * clarify that DateTime objects are allowed arguments Ray Baxter2011-07-161-1/+1
| | | | | | to distance_of_time_in_words
| * use minute instead of second in description of select_minuteRay Baxter2011-07-161-2/+2
| |
| * show correct helper in descriptionRay Baxter2011-07-161-1/+1
| |
| * use 'hour' instead of 'minutes' and 'second' for select_hourRay Baxter2011-07-161-2/+2
| |
* | Grouped select helperAndrew Radev2011-07-111-2/+12
| | | | | | | | FormBuilder#select now works with a nested data structure.
* | Include TagHelper within AssetTagHelperSam Pohlenz2011-07-101-0/+2
|/
* find(:all) => allAkira Matsuda2011-07-081-1/+1
|
* require 'thread' before using mutexJosé Valim2011-07-011-0/+1
|
* Don't require ActionView::Context as it's autoloadedAndrew White2011-07-011-1/+0
|
* Add missing requires for ActionView::Context and Module#instance_method_namesAndrew White2011-07-011-0/+2
|
* Revert "Add method fields_for_with_index to FormHelper"José Valim2011-07-011-18/+6
| | | | | | | | This reverts commit 7c562d5e460d97b18e4f3367b3cfb13401732920. Conflicts: actionpack/lib/action_view/helpers/form_helper.rb
* Fixed ActionView::FormOptionsHelper#select with :multiple => falseBogdan Gusiev2011-06-301-1/+1
|
* sub suffices hereXavier Noria2011-06-291-1/+1
|
* Merge pull request #1870 from chriseppstein/asset_urls_masterSantiago Pastorino2011-06-272-19/+15
|\ | | | | Asset urls master
| * Added a configuration setting:Chris Eppstein2011-06-272-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.action_controller.default_asset_host_protocol It's best to leave this unset. When unset the :request protocol is used whenever it can be and :relative is used in the other situations. When set to :request then assets hosts will be disabled when there is no request in scope and will use the request protocol whenever a request is in scope. If set to :relative, then a relative protocol is always used except for stylesheet link tags which must use the :request protocol to avoid double downloads in IE6&7. Conflicts: actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb
| * Stylesheet link tags should use the request protocol to avoid duplicate ↵Chris Eppstein2011-06-272-9/+5
| | | | | | | | | | | | | | | | | | download of stylesheets in IE7 and IE8. Conflicts: actionpack/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb actionpack/lib/sprockets/helpers/rails_helper.rb
| * Add asset_url helper and refactor the asset paths so that asset hosts can be ↵Chris Eppstein2011-06-271-12/+11
| | | | | | | | | | | | | | | | | | | | used during asset precompilation. Conflicts: actionpack/lib/action_view/asset_paths.rb actionpack/lib/sprockets/helpers/rails_helper.rb actionpack/test/template/sprockets_helper_test.rb