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 10
to get the controller helper for the tests - use
rails t path/to/file.rb:123
to test a file - generate the
openapi.json
from thedocumentation.yml
using the following command:
validates
on the model to validate inputsconcerns
for cross-cutting concerns functions