Rails Routing from the Outside InThis guide covers the user-facing features of Rails routing.After reading this guide, you will know: How to interpret the code in config/routes.rb. How to construct your own routes, using either the preferred resourceful style or the match method. How to declare route parameters, which are passed onto controller actions. How to automatically create paths and URLs using route helpers. Advanced techniques such as creating constraints and mounting Rack endpoints.| Ruby on Rails Guides
Composite Primary KeysThis guide is an introduction to composite primary keys for database tables.After reading this guide you will be able to: Create a table with a composite primary key Query a model with a composite primary key Enable your model to use a composite primary key for queries and associations Create forms for models that use composite primary keys Extract composite primary keys from controller parameters Use database fixtures for tables with composite primary keys| Ruby on Rails Guides
Active Storage OverviewThis guide covers how to attach files to your Active Record models.After reading this guide, you will know: How to attach one or many files to a record. How to delete an attached file. How to link to an attached file. How to use variants to transform images. How to generate an image representation of a non-image file, such as a PDF or a video. How to send file uploads directly from browsers to a storage service, bypassing your application servers. How to clean up files ...| Ruby on Rails Guides
It was time to move my Meal Planning app from AirTable to a custom application. AirTable’s pricing for the size of the database wasn’t awful, but I’d moved past the free account limits. And there were some features I wanted to add that were hard with the basic AirTable features.| dwf.bigpencil.net
Action View OverviewAfter reading this guide, you will know: What Action View is and how to use it with Rails. How best to use templates, partials, and layouts. How to use localized views.| Ruby on Rails Guides
Action View HelpersAfter reading this guide, you will know: How to format dates, strings, and numbers. How to work with text and tags. How to link to images, videos, stylesheets, etc. How to work with Atom feeds and JavaScript in the views. How to cache, capture, debug and sanitize content.| Ruby on Rails Guides