from /home/chedong/.local/share/rdoc
Rails::Server — a subclass of Rack::Server for starting the Rails application server.
| Use Case | Command | Description |
|---|---|---|
| 🚀 Start the Rails server | Rails::Server.new.start |
Boots the Rails application and starts the web server. |
| ⚙️ Get default server options | Rails::Server.new.default_options |
Returns the default options hash for the server. |
| 🧩 Get middleware stack | Rails::Server.new.middleware |
Returns the middleware stack used by the server. |
| 🔧 Parse command-line options | Rails::Server.new.opt_parser |
Parses command-line options and returns an OptionParser. |
| 🌐 Get served URL | Rails::Server.new.served_url |
Returns the full URL that the server is serving. |
| 🌱 Set Rails environment | Rails::Server.new.set_environment |
Sets the RAILS_ENV based on server options. |
new — Creates a new Rails::Server instance.default_optionsmiddlewareopt_parserserved_urlset_environmentstartGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 16:36 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format