I hereby claim:
- I am stiakov on github.
- I am stiakov (https://keybase.io/stiakov) on keybase.
- I have a public key ASALyLUG2PEJIOrEaJpj3TUWF_gZD6eyCjaT13woOUg6Ggo
To claim this, I am signing this object:
| class Customer < ApplicationRecord | |
| has_one :address | |
| end | |
| class Address < ApplicationRecord | |
| belongs_to :customer | |
| end | |
| customers = Customer.where(attr: 1) |
I hereby claim:
To claim this, I am signing this object:
| #carousel { | |
| /* ... */ | |
| overflow-x: auto; | |
| } |
Trying to deploy from a inner folder to gh-pages, you must have the transpiled assets in the desired directory.
If you want to deploy from the dist folder you should commit it to gh-pages branch.
git subtree push --prefix dist origin gh-pagesThat's it
$ curl -sSL https://get.docker.com |sh
Reference link
Send files to a remote computer through SSH:
$ scp /path/to/local.file user@m192.168.0.100:/Destiny/path
or send directories and its content with:
$ scp -r folder/name 192.168.0.100:/Destiny/path
Secure Copy Protocol | local_path/file | user@server:/destiny
Trying to run a rails console in my development env, It has thrown this error:
PG::ConnectionBad: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
Since I've used Brew to install PG, the fix that worked for me is in the steps below:
$ brew uninstall postgresql