aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/console
Commit message (Collapse)AuthorAgeFilesLines
* Add config.disable_sandbox option to Rails consolePrem Sichanugrist2019-03-231-0/+6
| | | | | | | | | | | A long-running `rails console --sandbox` could cause a database server to become out-of-memory as it's holding on to changes that happen on the database. Given that it's common for Ruby on Rails application with huge traffic to have separate write database and read database, we should allow the developers to disable this sandbox option to prevent someone from accidentally causing the Denial-of-Service on their server.
* [Railties] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Properly expand the environment's nameRobin Dupret2017-07-161-3/+0
| | | | | | | | | Running the `console` and `dbconsole` commands with a regular argument as the environment's name automatically expand it to match an existing environment (e.g. dev for development). This feature wasn't available using the `--environment` (a.k.a `-e`) option.
* [Railties] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Allow irb options to be passed from `rails console` commandyuuji.yaginuma2017-05-081-2/+14
| | | | Fixes #28988
* Hide commands from API site.Kasper Timm Hansen2016-10-281-1/+1
| | | | | They're just barren on the site and confure more than guide, instead rely on the built in --help to guide users.
* Fix console tests.Kasper Timm Hansen2016-09-251-1/+1
|
* Initial command structure.Kasper Timm Hansen2016-09-251-0/+89