Created
October 13, 2014 00:39
-
-
Save laiso/58288600cc4df06ba951 to your computer and use it in GitHub Desktop.
fastladder_heroku_deploy.diff
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
diff --git a/Gemfile b/Gemfile | |
index b2b133e..53a3988 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -25,7 +25,6 @@ if adapters.any? | |
when 'mysql2' ; gem 'mysql2' | |
when 'mysql' ; gem 'mysql' | |
when /postgres/ ; gem 'pg' | |
- when /sqlite3/ ; gem 'sqlite3' | |
else | |
warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems") | |
end | |
diff --git a/Gemfile.lock b/Gemfile.lock | |
index 18eec8a..4c10dc4 100644 | |
--- a/Gemfile.lock | |
+++ b/Gemfile.lock | |
@@ -249,7 +249,6 @@ GEM | |
actionpack (>= 3.0) | |
activesupport (>= 3.0) | |
sprockets (>= 2.8, < 4.0) | |
- sqlite3 (1.3.9) | |
subexec (0.2.3) | |
term-ansicolor (1.3.0) | |
tins (~> 1.0) | |
@@ -323,7 +322,6 @@ DEPENDENCIES | |
simplecov | |
simplecov-rcov | |
sinon-rails | |
- sqlite3 | |
thin | |
turbolinks | |
uglifier (>= 1.3.0) | |
diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb | |
index 880e646..c018f35 100644 | |
--- a/app/controllers/members_controller.rb | |
+++ b/app/controllers/members_controller.rb | |
@@ -4,19 +4,21 @@ class MembersController < ApplicationController | |
end | |
def create | |
- cookies.delete :auth_token | |
- # protects against session fixation attacks, wreaks havoc with | |
- # request forgery protection. | |
- # uncomment at your own risk | |
- # reset_session | |
- @member = Member.new(member_params) | |
- @member.save! | |
- session[:member_id] = @member.id | |
- redirect_to '/' | |
- flash[:notice] = "Thanks for signing up!" | |
- rescue ActiveRecord::RecordInvalid | |
- flash[:error] = @member.errors.map{|x, y| "#{x}: #{y}"}.join(', ') | |
- render action: 'new' | |
+ # Sign Up is freezed. | |
+ # | |
+ # cookies.delete :auth_token | |
+ # # protects against session fixation attacks, wreaks havoc with | |
+ # # request forgery protection. | |
+ # # uncomment at your own risk | |
+ # # reset_session | |
+ # @member = Member.new(member_params) | |
+ # @member.save! | |
+ # session[:member_id] = @member.id | |
+ # redirect_to '/' | |
+ # flash[:notice] = "Thanks for signing up!" | |
+ # rescue ActiveRecord::RecordInvalid | |
+ # flash[:error] = @member.errors.map{|x, y| "#{x}: #{y}"}.join(', ') | |
+ # render action: 'new' | |
end | |
private | |
diff --git a/public/robots.txt b/public/robots.txt | |
index 1a3a5e4..09a0d30 100644 | |
--- a/public/robots.txt | |
+++ b/public/robots.txt | |
@@ -1,5 +1,5 @@ | |
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file | |
# | |
# To ban all spiders from the entire site uncomment the next two lines: | |
-# User-agent: * | |
-# Disallow: / | |
+ User-agent: * | |
+ Disallow: / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment