05 Dec '17, 7am

Ateam Hikkoshi Samurai Inc. Advent Calendar HTTP/2 サーバープッシュ : H2OとRuby on Rails 5.2beta、HTTP 103 EarlyHin... https://t.co/QyKsRz7VZg

Ateam Hikkoshi Samurai Inc. Advent Calendar HTTP/2 サーバープッシュ : H2OとRuby on Rails 5.2beta、HTTP 103 EarlyHin... https://t.co/QyKsRz7VZg

$ docker-compose run --rm web bin/rails s -h Usage: rails server [puma, thin etc] [options] Options: -p, [--port=port] # Runs Rails on the specified port - defaults to 3000. -b, [--binding=IP] # Binds Rails to the specified IP - defaults to 'localhost' in development and '0.0.0.0' in other environments'. -c, [--config=file] # Uses a custom rackup configuration. # Default: config.ru -d, [--daemon], [--no-daemon] # Runs server as a Daemon. -e, [--environment=name] # Specifies the environment to run this server under (development/test/production). -P, [--pid=PID] # Specifies the PID file. # Default: tmp/pids/server.pid -C, [--dev-caching], [--no-dev-caching] # Specifies whether to perform caching in development. [--early-hints], [--no-early-hints] # Enables HTTP/2 early hints.

Full article: https://qiita.com/dd511805/items/a790b7bba4aed828aa92

Tweets

Ateam Lifestyle Advent Calendar DockerでRuby on ...

qiita.com 10 Dec '17, 9am

apt-get install -y nodejs sqlite3 --no-install-recommends && \ rm -rf /var/lib/apt/lists/* # image内にbundle installするためGemf...

Rails 5.2 implements fetch_values for HashWithI...

blog.bigbinary.com 06 Dec '17, 4pm

This blog is part of our Rails 5.2 series . Ruby 2.3 added fetch_values method to hash . By using fetch_values we are able...