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
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
At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.
git commit --amend
This will open your $EDITOR
and let you change the message. Continue with your usual git push origin master
.
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
# Utilize-o em 'config/locales/', com o nome de 'devise.pt-BR.yml'. | |
# Em 'config/application.rb', utilize => config.i18n.default_locale = :'pt-BR' | |
pt-BR: | |
devise: | |
confirmations: | |
confirmed: "Sua conta foi confirmada com sucesso." | |
send_instructions: "Você receberá um e-mail para confirmar sua conta em alguns minutos." |
Patreon: https://levels.patreon.com/
Buffer: https://open.buffer.com/engineering-career-framework/
Rent the Runway: https://docs.google.com/document/d/1SxmQBrDZvj16veuc2OVO0wUX7a7vEKPM-57dNLXhuEk/edit
Medium: https://medium.com/s/engineering-growth-framework/engineering-growth-introduction-8ba7b78c8d6c
Kickstarter: https://gist.github.com/jamtur01/aef437a79fee5a9cefdc
Percentage:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width=50% height=50%>
Pixels:
<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width="150" height="280">