This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'adwords_api' | |
class LoginController < ApplicationController | |
skip_before_filter :authenticate | |
GOOGLE_LOGOUT_URL = 'https://www.google.com/accounts/Logout' | |
def prompt() | |
api = get_adwords_api() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AdwordsOnRails::Application.routes.draw do | |
# The priority is based upon order of creation: | |
# first created -> highest priority. | |
get 'login/prompt' | |
get 'login/callback' | |
get 'login/logout' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HomeController < ApplicationController | |
def index() | |
@selected_account = selected_account | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app/controllers/targeting_controller.rb:8:in `show' | |
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action' | |
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__2958441726183771221__process_action__3009639004342221532__callbacks' | |
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) User Pages signup page | |
Failure/Error: it { should have_selector('title', text: full_title('Sign up'))} | |
expected #has_selector?("title", {:text=>"Ruby on Rails Tutorial Sample App | Sign up"}) to return true, got false | |
# ./spec/requests/user_pages_spec.rb:12:in `block (3 levels) in <top (required)>' | |
2) Static pages Home page it should behave like all static pages | |
Failure/Error: it { should have_selector('title', content: full_title(page_title)) } | |
ArgumentError: | |
invalid keys :content, should be one of :text, :visible, :between, :count, :maximum, :minimum | |
Shared Example Group: "all static pages" called from ./spec/requests/static_pages_spec.rb:18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: While executing gem ... (OpenSSL::SSL::SSLError) | |
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: wrong version number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.1' | |
#Use PostgreSQL | |
group :production do | |
gem 'pg', '0.17.0' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Sign up</h2> | |
<!--<% resource.profile || resource.build_profile %> --> | |
<% resource.build_profile %> | |
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> | |
<%= devise_error_messages! %> | |
<div class="field"> | |
<%= f.label :email %><br /> | |
<%= f.email_field :email, autofocus: true %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.oreilly.com/data/free/files/2014-data-science-salary-survey.pdf | |
http://www.oreilly.com/data/free/files/2015-data-science-salary-survey.pdf | |
http://www.oreilly.com/data/free/files/Data_Analytics_in_Sports.pdf | |
http://www.oreilly.com/data/free/files/advancing-procurement-analytics.pdf | |
http://www.oreilly.com/data/free/files/ai-and-medicine.pdf | |
http://www.oreilly.com/data/free/files/analyzing-data-in-the-internet-of-things.pdf | |
http://www.oreilly.com/data/free/files/analyzing-the-analyzers.pdf | |
http://www.oreilly.com/data/free/files/architecting-data-lakes.pdf | |
http://www.oreilly.com/data/free/files/being-a-data-skeptic.pdf | |
http://www.oreilly.com/data/free/files/big-data-analytics-emerging-architecture.pdf |