f0f624bde4
In addition to updating the code examples and editing text for clarity and flow, here some more details on some of the changes: - [X] Do we still need an HTML5 warning at the end of the 1st section? It's pretty standard these days. --> agree, removed. - [X] Not sure the output of `_form_with model: @article`_ is 100% correct, might need to double check that. --> yes. updated this example and got the HTML output from my "guides playground" rails app. - [X] When we mention `record.persisted?` in record identification, could be a good plug to link to the Active Model guide on that. --> Hm...there is no direction mention, other than this https://guides.rubyonrails.org/active_model_basics.html#conversion - [X] Similar to STI, link to the guide / reference on it. - [X] Time Zone and Country Select should likely be broken into separate sub-sections (I don't mind still mentioning country select) - [X] Would the file upload example would be better with a CSV for local processing, rather than showing saving to local disk? (which is probably a very uncommon usage?) - [X] The _labeled_form_with_ example could likely be simplified with `_**options_` being all that it takes, instead of explicitly showing all possible kwargs. - [X] It may be better to show "complex forms" (section 10) right after the parameters (section 8), moving "forms to external resources" down... just because complex forms require exactly the fields_for incantation that was detailed further under the parameters section, so it seems a better continuation. (or potentially even reversed? complex forms then params? not sure) - [X] Under "complex forms", adding fields on the flow could be slightly expanded, it feels very "go figure". --> Yeah, not sure what to do about this one. Was thinking about removing it as there is not built-in support to showcase. --------- Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com> Co-authored-by: Petrik de Heus <petrik@deheus.net> Co-authored-by: Amanda Perino <58528404+AmandaPerino@users.noreply.github.com> Co-authored-by: Karl Lingiah <karl@superchilled.co.uk> |
||
---|---|---|
.. | ||
epub | ||
_license.html.erb | ||
_welcome.html.erb | ||
2_2_release_notes.md | ||
2_3_release_notes.md | ||
3_0_release_notes.md | ||
3_1_release_notes.md | ||
3_2_release_notes.md | ||
4_0_release_notes.md | ||
4_1_release_notes.md | ||
4_2_release_notes.md | ||
5_0_release_notes.md | ||
5_1_release_notes.md | ||
5_2_release_notes.md | ||
6_0_release_notes.md | ||
6_1_release_notes.md | ||
7_0_release_notes.md | ||
7_1_release_notes.md | ||
7_2_release_notes.md | ||
8_0_release_notes.md | ||
action_cable_overview.md | ||
action_controller_overview.md | ||
action_mailbox_basics.md | ||
action_mailer_basics.md | ||
action_text_overview.md | ||
action_view_helpers.md | ||
action_view_overview.md | ||
active_job_basics.md | ||
active_model_basics.md | ||
active_record_basics.md | ||
active_record_callbacks.md | ||
active_record_composite_primary_keys.md | ||
active_record_encryption.md | ||
active_record_migrations.md | ||
active_record_multiple_databases.md | ||
active_record_postgresql.md | ||
active_record_querying.md | ||
active_record_validations.md | ||
active_storage_overview.md | ||
active_support_core_extensions.md | ||
active_support_instrumentation.md | ||
api_app.md | ||
api_documentation_guidelines.md | ||
asset_pipeline.md | ||
association_basics.md | ||
autoloading_and_reloading_constants.md | ||
caching_with_rails.md | ||
command_line.md | ||
configuring.md | ||
contributing_to_ruby_on_rails.md | ||
debugging_rails_applications.md | ||
development_dependencies_install.md | ||
documents.yaml | ||
engines.md | ||
error_reporting.md | ||
form_helpers.md | ||
generators.md | ||
getting_started_with_devcontainer.md | ||
getting_started.md | ||
i18n.md | ||
index.html.erb | ||
initialization.md | ||
layout.html.erb | ||
layouts_and_rendering.md | ||
maintenance_policy.md | ||
plugins.md | ||
rails_application_templates.md | ||
rails_on_rack.md | ||
routing.md | ||
ruby_on_rails_guides_guidelines.md | ||
security.md | ||
testing.md | ||
threading_and_code_execution.md | ||
tuning_performance_for_deployment.md | ||
upgrading_ruby_on_rails.md | ||
working_with_javascript_in_rails.md |