From 40b209db53796ae515387d0fee2a525872eb2ae4 Mon Sep 17 00:00:00 2001 From: Alberto Almagro Date: Tue, 26 Jun 2018 22:02:51 +0200 Subject: Recommend use of rails over bin/rails As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together. --- guides/source/api_app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/api_app.md') diff --git a/guides/source/api_app.md b/guides/source/api_app.md index d6b228b2f8..04173ae631 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -391,7 +391,7 @@ Other plugins may add additional modules. You can get a list of all modules included into `ActionController::API` in the rails console: ```bash -$ bin/rails c +$ rails c >> ActionController::API.ancestors - ActionController::Metal.ancestors => [ActionController::API, ActiveRecord::Railties::ControllerRuntime, -- cgit v1.2.3