We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
RailsConf 2024 - SQLite on Rails: From rails new to 50k concurrent... by Stephen Margheim Final
Create a high-performance Rails application with SQLite, from setup to scaling to 50,000 concurrent users, with expert guidance from Stephen Margheim at RailsConf 2024.
-
Use
rails newwith the--database=sqlite3flag to create a new Rails application with SQLite as the default database. -
Use
sqlite3as the database adapter for your Rails application. -
Set the
default_timezonetoUTCin your application configuration file to avoid unexpected behavior. -
Use the
rails db:createcommand to create the database schema. -
Use the
rails db:migratecommand to execute the database migrations. -
Use the
rails db:seedcommand to seed the database with data. -
Use the
rails consolecommand to interact with the database in a Rails console. -
Set the
strict_variablestotruein your application configuration file to ensure that variables are strictly typed. -
Use the
rails testcommand to run your tests. -
Use the
rails coveragecommand to generate test coverage reports. -
Set the
rails_autodoctotruein your application configuration file to generate API documentation. -
Use the
rails doccommand to generate API documentation. -
Use the
rails i18ncommand to manage translations. -
Use the
rails routingcommand to manage routing. -
Use the
rails sasscommand to manage stylesheets. -
Use the
rails scmcommand to manage source control. -
Use the
rails speccommand to run your specifications. -
Use the
rails spincommand to start a Rails server. -
Use the
rails test:recallcommand to run your tests. -
Use the
rails test:registercommand to register your tests. -
Use the
rails test:unregistercommand to unregister your tests. -
Use the
rails test:upgradecommand to upgrade your tests. -
Use the
rails test:downgradecommand to downgrade your tests.