Search
Categories
- Deployment (4)
- Development (63)
- Gems and Plugins (4)
- News (2)
- Projects (4)
- Testing (3)
Most Popular Tags
activerecord architecture collections css database date and time debugging design design patterns DRY ebooks fixtures floating-point numbers formatting framework front page global variables helpers I18n introductory launchpad meta-information migrations model multiplicity mvc MySQL partials production rails 2.0 rails 2.1 Rails 2.2 regular expressions routing rss ruby security setup sql UI upgrading user management validation xml xml builder
Tag Archives: partials
Sharing New and Edit Forms With Partials
How can you share the form to create a new object and to edit an object? The fields are almost the same–this is a goal that will help you keep your site DRY, with the forms specified in one place. Rails partials to the rescue! You can put the fields into a partial, and simply render that in both your new and edit actions. Easy! Continue reading