rails-forms | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / rails-forms

rails-forms

maintained by manuelmeurer

star 0 account_tree 1 verified_user MIT License
bolt View GitHub

name: rails-forms description: Rails form conventions. Use when creating or editing forms in Rails.

Rails Forms

Guidelines

  • Inspect existing form patterns in the codebase first.
  • Always use form_with when creating or modifying forms.
  • Use the turbo_data helper for Turbo-related data attributes.
  • For form actions, always use the form_actions component.

Form fields

  • Prefer using the form_field component with the appropriate field type; for hidden fields, use hidden_field instead; use field type :base only in rare cases for custom fields not used elsewhere in the codebase.
  • Add custom labels, hints, and help texts via I18n using the keys expected by the form_field component. Check the component for the expected I18n keys.
  • When adding I18n entries, update all locales in use.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 1
Created Jan 2026
Last Updated 5个月前
tools tools cms platforms

Related Skills

ui-ux-pro-max
chevron_right
building-agents
chevron_right
nestjs-expert
chevron_right
prisma-expert
chevron_right
ui-ux-pro-max
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.