- TutorialBuild the blog step by step: scaffold, comments, live updates with Turbo, a background job, authentication, uploads, deployment
- InstallingRequirements, the
cybertraincommand, how Spinel and the framework are installed - How it worksBuild-time code generation, interpreted views, the server, the development loop, and a table of the differences from Rails
- Models and the databaseMigrations, column types, queries, associations, validations, encrypted columns, transactions, taking over a Rails database
- RequestsRouting, formats and
respond_to, concerns, strong parameters, HTTP caching, cookies and the encrypted session, rate limiting, the Content Security Policy,force_ssland host checks, headers, query strings and request bodies - Authentication
generate authentication: sign-in, sign-up or invite-only, password reset, confirmation, lockout, remember me, the account page, admin users, upgrading from 0.4 - AssetsDigested stylesheets, images and JavaScript, CSS
url(), the helpers, the import map, serving and retention - InternationalizationDictionaries in
config/locales,tandl, lazy lookup, plural forms, choosing the locale per request, translated validation messages, the bundled English and Japanese - Configuration
config/app.rb, environment variables, time zones - Background work and operationsJob classes, retries,
everyandcrontasks, the jobs page, theworkerandfeedsprocess roles, the cache store, the console, backups, the health check, logs and request ids, error reporting to Sentry - RealtimeTurbo Streams over Server-Sent Events or WebSocket, broadcasts from actions, jobs and feeds, signed stream names, feed health
- Outbound HTTP, WebSocket feeds and e-mail
HttpClientwith streaming, gzip and Server-Sent Events,WebSocket.subscribewith timers and restarts,Mailerwith HTML mail anddeliver_later - TestingWriting tests for an app, outbound calls, jobs, logs and error reports, CI
- The template languageHelpers, components, the form builder and what a template may call in
app/views/**/*.html.erb
CyberTrainGuides
Guides
Everything CyberTrain's documentation covers beyond the API reference: the tutorial that builds the blog step by step, then a guide for each area of the framework.