I've some problem when setup project with:
- Rails 4.2.10
- Ruby 2.5.3
- Postgresql 13
My steps:
Install Homebrew
I've some problem when setup project with:
My steps:
Install Homebrew
# Retorna dados sobre o pregão | |
http://www.bmfbovespa.com.br/Pregao-Online/ExecutaAcaoCarregarDados.asp?CodDado=IBOV,ticker&CA=undefined | |
# Retorna ações e seus últimos valores negociados | |
http://www.bmfbovespa.com.br/Pregao-OnLine/ExecutaAcaoCarregarDados.asp?CodDado=Ticker | |
# Retorna o histórico do dia de um papel | |
http://www.bmfbovespa.com.br/Pregao-Online/ExecutaAcaoCarregarDadosPapeis.asp?CodDado=petr4 | |
# Retorna dados de um papel |
You may have thought of running nightmare on AWS Lambda. But before we can run it on Lambda, we need first to make it run on Amazon Linux.
According to AWS Documentation on Lambda Execution Environment and available Libraries we would need this AMI image with this alias amzn-ami-hvm-2016.03.3.x86_64-gp2
. Keep in mind that AMI-image-id for this instance would be different in different regions (eg):
eu-west-1
- ami-f9dd458a
us-east-1
- ami-6869aa05
#!/bin/bash | |
# This script does the following: | |
# 1/ capture and download the latest backup | |
# 2/ load it to your local database | |
# 3/ run your app and open Safari | |
# Just replace any uppercase string with your own data | |
# |
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb | |
index 8acc96c..ae5bbb0 100644 | |
--- a/app/controllers/application_controller.rb | |
+++ b/app/controllers/application_controller.rb | |
@@ -122,8 +122,9 @@ class ApplicationController < ActionController::Base | |
end | |
def store_subdomain | |
- @store_domain ||= request.subdomain.blank? ? | |
- 'www' : request.subdomains.last |