1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

rails-console: add page (#15608)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Nelson Figueroa 2025-01-26 11:17:39 -08:00 committed by GitHub
parent 3e6af8a93b
commit b3793a45fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,20 @@
# rails console
> Interact with a Rails application.
> More information: <https://guides.rubyonrails.org/command_line.html#bin-rails-console>.
- Start the Rails console:
`rails console`
- Start the Rails console and roll back all data modifications on exit:
`rails console --sandbox`
- Start the Rails console on a specified environment:
`rails console --environment {{dev|test|production|...}}`
- Display help:
`rails console --help`