aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/form_helpers.md
Commit message (Collapse)AuthorAgeFilesLines
* Update links and code examples in the guides to use HTTPS where the host ↵Nathaniel Suchy2019-03-061-7/+7
| | | | supports it.
* Improve readability in form helpers guide [ci skip]tkoyama19882018-09-171-2/+2
|
* [ci skip] Typo in form helpers guideNicolas Maloeuvre2018-08-301-1/+1
|
* Update "Action View Form Helpers" guide [ci skip]bogdanvlviv2018-08-271-96/+118
|
* Follow up #33523 [ci skip]bogdanvlviv2018-08-271-50/+20
| | | | | | | | | | | This commit is the next work after #33523. Also, this commit removes mention about hidden `utf8` input. Since form helpers don't generate this input by default since #32125. Note that I also had created PR #31972 with improvements to "Action View Form Helpers" guide, but I'll rebase it after merging the current PR.
* Merge pull request #33681 from minaslater/replace-white-and-blacklistAaron Patterson2018-08-231-2/+2
|\ | | | | [ci skip] change all instances of blacklist and whitelist to denylist…
| * [ci skip] corrects more grammar awkwardness, replacing denylist with ↵Mina Slater2018-08-221-1/+1
| | | | | | | | restricted list and consistently use permitted
| * [ci skip] fixes awkward grammarMina Slater2018-08-221-2/+2
| |
| * [ci skip] change all instances of blacklist and whitelist to denylist and ↵Mina Slater2018-08-211-2/+2
| | | | | | | | allowlist
* | Include form_with in form_helpers rails guide (#33523)Nick Schwaderer2018-08-221-53/+49
|/ | | | | | | | | | | | | | | | | | | | * Include form_with in form_helpers rails guide * Include form_tag and form_for footnote * Id and class attributes are not wrapped anymore * Include note that all form_with forms are remote:true by default * Underline most common use case of form_with is with arguments * Form_with no longer accepts multiple hashes in form helper calls * Review final sections * Revert extra documentation * Remove unnecessary link
* Reference Active Storage instead of third-party libraries in guidePaul McMahon2018-07-261-1/+1
| | | | | | | | | | | Paperclip has officially been deprecated, so we shouldn't mention it anymore. CarrierWave could still be referenced, as there are use cases where it currently makes more sense, but for simplicity, I thought removing the mention of third party libraries made sense. If we want to talk about them, listing "alternatives" within the Active Storage guide could make more sense.
* Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
| | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-8/+8
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Merge pull request #30474 from yhirano55/make_it_same_title_in_index_and_pageEileen M. Uchitelle2017-12-131-2/+2
|\ | | | | Make it same title in index and page [ci skip]
| * Make it same title in index and page [ci skip]Yoshiyuki Hirano2017-08-311-2/+2
| |
* | [ci skip] Add a missing space before closing curly braceswillnet2017-12-021-1/+1
| |
* | Update Form Helpers guide to fix example codes [ci skip]Yoshiyuki Hirano2017-09-171-7/+11
|/ | | | | | | | * It looks that example codes are not based on actual output. So I've fixed it. * Specifically: * There are no lines about utf-8 and authenticity_token. * The submit button doesn't have data-disabled-with attribute. * Each attribute order of html element is different from actual ones.
* Merge pull request #28432 from marksiemers/masterRafael França2017-04-201-1/+1
|\ | | | | Update 'Building Complex Forms' with `inverse_of`
| * Update 'Building Complex Forms' with `inverse_of`marksiemers2017-03-151-1/+1
| | | | | | If the example for complex forms is implemented, ActiveRecord will prevent saving unless `inverse_of: :person` is added to the `has_many :addresses` association.
* | Remove datetime fields from helper list [ci skip]yuuji.yaginuma2017-04-191-1/+1
|/ | | | | | The `datetime_field` is an alias of the `datetime_local_field`, there is no helper to generate datetime fields. Ref: #25469
* Add link to mentioned API [ci skip] (#28392)Vipul A M2017-03-121-1/+1
|
* Fixes #27202, [ci skip]utilum2016-11-301-2/+0
|
* remove deprecated `datetime_field` from guide [ci skip]yuuji.yaginuma2016-04-031-2/+0
| | | | `datetime_field` was deprecated in 316811b4d3f4e5a1a7bcd03de97c67218770e333
* [ci skip] No hyphen in 'side effects'Michael Groeneman2016-02-231-1/+1
|
* [ci skip] Fix typo in Form Helpers GuideMichael Groeneman2016-02-231-1/+1
|
* ApplicationRecord documentation passGenadi Samokovarov2015-12-171-4/+4
| | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
* Add comma to to make the information clearUbuntu2015-11-071-1/+1
|
* Minor cleanup for form helpers guide [ci skip]Scott González2015-10-081-6/+8
|
* Remove TIP on parse_queryDavid Verhasselt2015-10-051-7/+0
| | | | [ci skip]
* Remove yepnope mention from form helpers guide because it's deprecated [ci skip]Anton Chuchkalov2015-07-301-3/+2
|
* [ci skip] Upcase `when`yui-knk2015-05-161-1/+1
|
* [ci skip] Fix to a singular form (person has one contact_detail)yui-knk2015-05-161-2/+2
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-03-261-1/+1
|\ | | | | | | | | Conflicts: guides/source/4_0_release_notes.md
| * [ci skip] Fix link formatyui-knk2015-03-151-1/+1
| |
* | [ci skip] Add link for "parameter_names section"yui-knk2015-03-231-1/+1
|/
* [ci skip] Fix fenced code block langyui-knk2015-03-011-1/+1
|
* Improving 'Customizing Form Builder' section with example [ci skip]Andrey Nering2015-01-161-1/+8
|
* Merge pull request #18503 from vipulnsward/guides-in-onXavier Noria2015-01-141-1/+1
|\ | | | | Changed `IN` to `ON` in markdown renderer condition
| * - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | | | | | - Changed `IN` to `ON` in all note sentences in guides.
* | Fix form_for guide binding a form to an object.Derek Reeve2015-01-131-2/+2
|/ | | | | | | The HTML generated using url: { action: :create} will not generate the form action "/articles/create", it should generate the form action "/articles" for a new object.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Merge pull request #17796 from leafac/fix-formatYves Senn2014-11-271-1/+9
|\ | | | | | | Fix format "Form Helpers" guide
| * Fix format "Form Helpers" guideLeandro Facchinetti2014-11-261-1/+1
| | | | | | | | The `"_tag"` was interpreted as the start of a italics.
* | [ci skip] Add highlight to code (form helper guide).Juanito Fatas2014-10-251-1/+1
| |
* | form_helpers: demonstrating there is also a collection_select method in form ↵Thiago Pinto2014-09-131-0/+6
|/ | | | builder
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-09-031-1/+1
|\
| * code quotes for classnameMikhail Dieterle2014-08-241-1/+1
| |
* | Adjusted punctuation and grammar for Form Helpers guide [ci skip]Brian Jordan2014-08-261-16/+16
|/
* Fix indentation from 1b4b26f [ci skip]Zachary Scott2014-05-281-3/+3
|
* [ci skip] Improve form_helpers.md guide.Juanito Fatas2014-05-291-31/+25
|