start new:
tmux
start new with session name:
tmux new -s myname
This list is based on aliases_spec.rb.
You can see also Module: RSpec::Matchers API.
matcher | aliased to | description |
---|---|---|
a_truthy_value | be_truthy | a truthy value |
a_falsey_value | be_falsey | a falsey value |
be_falsy | be_falsey | be falsy |
a_falsy_value | be_falsey | a falsy value |
I've been following this blog post on how to set up an api-only Rails 5 application. One of the sections talks about creating a subdomain for your api
Rails.application.routes.draw do
constraints subdomain: "api" do
scope module: "api" do
upstream escamboapp { | |
server unix:/tmp/escamboapp.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name example.com; | |
return 301 https://$host$request_uri; | |
} |