ruby on rails
A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Notes
- to see the SQL executed, just prefix the active record with
.to_sql - use
rails routes | rg internal_api -C 10to get the controller helper for the tests - use
rails t path/to/file.rb:123to test a file - generate the
openapi.jsonfrom thedocumentation.ymlusing the following command:
npm run bundle:api-doc privacy_preferencesvalidateson the model to validate inputsconcernsfor cross-cutting concerns functions