Permalink
Browse files

use pg on heroku

  • Loading branch information...
1 parent f8b2c9e commit d5ff6ab46beed5be2b93e5062be301f14ac6a2a4 @ajb committed Jul 21, 2012
Showing with 23 additions and 3 deletions.
  1. +7 −2 Gemfile
  2. +16 −1 db/seeds.rb
View
@@ -6,8 +6,9 @@ gem 'geocoder'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
-gem 'sqlite3'
-
+group :test, :development do
+ gem 'sqlite3'
+end
# Gems used only for assets and not required
# in production environments by default.
@@ -21,6 +22,10 @@ group :assets do
gem 'uglifier', '>= 1.0.3'
end
+group :production do
+ gem 'pg'
+end
+
gem 'jquery-rails'
# To use ActiveModel has_secure_password
View
@@ -9,4 +9,19 @@
Station.create(station_type: "Citizen Sponsored",
name: "Adam's Rad Bike Pump",
address: "1023 62nd St. Oakland, CA",
- description: "I have a bike pump outside by the mailbox.")
+ description: "I have a bike pump outside by the mailbox.")
+
+Station.create(station_type: "Bike Shop",
+ name: "The Spoke Cyclery",
+ address: "6124 Telegraph Ave. Oakland, CA",
+ description: "Hours are 11-5 Tuesday-Friday, 11-6 Saturday-Sunday.")
+
+Station.create(station_type: "Citizen Sponsored",
+ name: "Lakeshore Repair Station",
+ address: "300 Lakeshore Oakland, CA",
+ description: "Pump chained to park bench at corner of lakeshore and 20th.")
+
+Station.create(station_type: "Bike Shop",
+ name: "Bay Area Bikes",
+ address: "2424 Webster St Oakland, CA",
+ description: "Mon-Fri 10 am - 7 pm. Sat 10 am - 6 pm. Sun 12 pm - 5 pm")

0 comments on commit d5ff6ab

Please sign in to comment.