Articles to Write Better Ruby on Rails Code

Write Rails code you can be proud of. Whether you're just starting out or have been shipping Rails apps for years, there's always a new approach or pattern worth knowing about.

  1. How to add “Save and add another” feature to Rails apps
  2. How to Create an Undo Action with Rails
  3. How Layouts Work in Rails
  4. How to disable Rails Form's `.field_with_errors`
  5. Lesser Known Rails Helpers to Write Cleaner View Code
  6. Inline SVG Icons in Your Rails App
  7. Simple Preferences to Any Resource for Rails
  8. How to Work with Forms inside Forms in Rails
  9. Custom Meta Titles in Rails Apps: A Quick Guide
  10. Conditionally Add CSS Classes to Your Views and Components