This file contains hidden or 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
| Started POST "/landing/soon" for 127.0.0.1 at 2014-08-20 05:23:11 +0800 | |
| Started POST "/landing/soon" for 127.0.0.1 at 2014-08-20 05:23:11 +0800 | |
| Processing by LandingController#save_email as HTML | |
| Processing by LandingController#save_email as HTML | |
| Parameters: {"utf8"=>"√", "authenticity_token"=>"8AvNiGAh7TBZB3MNan4c | |
| Qr8RiYtUOlOiKw=", "coming"=>{"email"=>"[email protected]"}, "commit"=> | |
| "} | |
| Parameters: {"utf8"=>"√", "authenticity_token"=>"8AvNiGAh7TBZB3MNan4c | |
| Qr8RiYtUOlOiKw=", "coming"=>{"email"=>"[email protected]"}, "commit"=> | |
| "} |
This file contains hidden or 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 StudentsController < ApplicationController | |
| def new | |
| @student = Student.new | |
| end | |
| def create | |
| @student = Student.new(student_params) | |
| if @student.save | |
| session[:user_id] = @user.id | |
| redirect_to student_path, notice: "Student saved successfully" |
This file contains hidden or 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 TargetingController < ApplicationController | |
| respond_to :json | |
| def show(keyword_text) | |
| adwords = AdwordsApi::Api.new |
This file contains hidden or 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 ApplicationController < ActionController::Base | |
| before_filter :authenticate | |
| protect_from_forgery | |
| private | |
| # Returns the API version in use. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |