[from now] 2013/07/27 23:03:59

diff --git a/Gemfile b/Gemfile
index f81f899..201f101 100644
--- a/Gemfile
+++ b/Gemfile
@@ -46,3 +46,8 @@ group :development, :test do
   gem 'rspec-rails', '~> 2.14.0.rc1'
   gem 'factory_girl_rails', '~> 4.0.0'
 end
+
+group :development do
+  gem 'pry-rails'
+  gem 'awesome_print'
+end
diff --git a/Gemfile.lock b/Gemfile.lock
index a11d9f6..b0182d7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -37,7 +37,9 @@ GEM
       tzinfo (~> 0.3.37)
     arel (4.0.0)
     atomic (1.1.10)
+    awesome_print (1.1.0)
     builder (3.1.4)
+    coderay (1.0.9)
     coffee-rails (4.0.0)
       coffee-script (>= 2.2.0)
       railties (>= 4.0.0.beta, < 5.0)
@@ -80,6 +82,7 @@ GEM
     mail (2.5.4)
       mime-types (~> 1.16)
       treetop (~> 1.4.8)
+    method_source (0.8.1)
     mime-types (1.23)
     minitest (4.7.5)
     multi_json (1.7.7)
@@ -99,6 +102,12 @@ GEM
       oauth2 (~> 0.8.0)
       omniauth (~> 1.0)
     polyglot (0.3.3)
+    pry (0.9.12.2)
+      coderay (~> 1.0.5)
+      method_source (~> 0.8)
+      slop (~> 3.4)
+    pry-rails (0.3.2)
+      pry (>= 0.9.10)
     rack (1.5.2)
     rack-test (0.6.2)
       rack (>= 1.0)
@@ -134,6 +143,7 @@ GEM
       json (>= 1.1.3)
       rdoc (~> 3.10)
     settingslogic (2.0.9)
+    slop (3.4.6)
     sprockets (2.10.0)
       hike (~> 1.2)
       multi_json (~> 1.0)
@@ -165,6 +175,7 @@ PLATFORMS
   ruby

 DEPENDENCIES
+  awesome_print
   coffee-rails (~> 4.0.0)
   dotenv
   factory_girl_rails (~> 4.0.0)
@@ -173,6 +184,7 @@ DEPENDENCIES
   less-rails (~> 2.3.3)
   omniauth
   omniauth-facebook
+  pry-rails
   rails (= 4.0.0)
   rspec-rails (~> 2.14.0.rc1)
   sdoc
diff --git a/app/models/review.rb b/app/models/review.rb
index 2fbac34..c330139 100644
--- a/app/models/review.rb
+++ b/app/models/review.rb
@@ -1,2 +1,4 @@
 class Review < ActiveRecord::Base
+  belongs_to :user
+  belongs_to :shop
 end
diff --git a/app/models/shop.rb b/app/models/shop.rb
index be991a2..20f434d 100644
--- a/app/models/shop.rb
+++ b/app/models/shop.rb
@@ -1,2 +1,3 @@
 class Shop < ActiveRecord::Base
+  has_many :review
 end
diff --git a/app/models/user.rb b/app/models/user.rb
index 4a57cf0..94a53fa 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,2 +1,3 @@
 class User < ActiveRecord::Base
+  has_many :review
 end
fix review relation
create test data