Posted 10 months ago. Visible to the public. Draft.

Advantages of using appname.vcap.me:3000 over localhost:3000

Running rails server will start a local server that you can access via http://localhost:3000.

When you are working on multiple web apps, they will likely cookies with generic names on localhost. This is annoying, since you will sign out your current user whenever you switch to another app.

A better way is to use the vcap.me service. All vcap.me subdomains resolve to your local IP (127.0.0.1). That means you can use a different hostname for different apps, and you will stay logged in in each app:

Copy
http://foo-app.vcap.me:3000 => 127.0.0.1 http://bar-app.vcap.me:3000 => 127.0.0.1 http://bam-app.vcap.me:3000 => 127.0.0.1

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Henning Koch
Last edit:
9 months ago
by Emanuel De
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more