Skip to content

Instantly share code, notes, and snippets.

View jraczak's full-sized avatar

Justin Raczak jraczak

View GitHub Profile
[ { featureType: "poi", stylers: [ { visibility: "off" } ] },{ } ]
Google Maps API v3 Styled Maps JSON
[ { featureType: "poi.business", stylers: [ { visibility: "off" } ] },{ } ]
<!DOCTYPE html>
<html>
<head>
<title>Home</title>
<link href="css.css" rel="stylesheet" type="text/css"/>
</head>
<body id="body">
<nav id="navbar">
origin https://github.com/jraczak/crowdscore.git (fetch)
origin https://github.com/jraczak/crowdscore.git (push)
production [email protected]:crowdscore.git (fetch)
production [email protected]:crowdscore.git (push)
staging [email protected]:crowdscore-staging.git (fetch)
staging [email protected]:crowdscore-staging.git (push)
simon-ipad:crowdscore jraczak$ rake db:migrate
WARNING: password file "/Users/jraczak/.pgpass" has group or world access; permissions should be u=rw (0600) or less
== DeviseCreateUsers: migrating ==============================================
-- create_table(:users)
NOTICE: CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"
-> 0.1142s
-- add_index(:users, :email, {:unique=>true})
-> 0.0046s
-- add_index(:users, :reset_password_token, {:unique=>true})
## Trackable
t.integer :sign_in_count, :default => 0
t.datetime :current_sign_in_at
t.datetime :last_sign_in_at
t.string :current_sign_in_ip
t.string :last_sign_in_ip
## Reconfirmable
t.string :unconfirmed_email
t.string :confirmation_email
simon-ipad:crowdscore jraczak$ rake db:migrate
WARNING: password file "/Users/jraczak/.pgpass" has group or world access; permissions should be u=rw (0600) or less
== DeviseCreateUsers: migrating ==============================================
-- create_table(:users)
NOTICE: CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"
-> 0.3887s
-- add_index(:users, :email, {:unique=>true})
-> 0.0028s
-- add_index(:users, :reset_password_token, {:unique=>true})
Errno::ECONNREFUSED in VenuesController#create
Connection refused - connect(2)
Rails.root: /Volumes/UserData/Users/jraczak/Desktop/Crowdscore/dev/crowdscore
Application Trace | Framework Trace | Full Trace
app/controllers/venues_controller.rb:17:in `create'
ArgumentError in Rails_admin/main#index
Showing /Volumes/UserData/Users/jraczak/.rvm/gems/ruby-1.9.3-p125@crowdscore/gems/rails_admin-0.0.1/app/views/rails_admin/main/index.html.haml where line #139 raised:
wrong number of arguments (2 for 1)
Extracted source (around line #139):
136: = paginate(@objects, :theme => 'twitter-bootstrap', :remote => true)
137: = link_to(t("admin.misc.show_all"), index_path(params.merge(:all => true)), :class => "show-all btn clearfix pjax") unless total_count > 100 || total_count <= @objects.to_a.size
138: .clearfix.total-count= "#{total_count} #{@model_config.label_plural.downcase}"