Skip to content

Commit

Permalink
removed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reinsch committed Jul 20, 2009
1 parent 6cb5b76 commit e521e7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generators/acts_as_rateable_update1/templates/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def self.up
sql = "SELECT rateable_id, rateable_type, user_id, score, old_ratings.created_at, old_ratings.updated_at " +
"FROM old_ratings INNER JOIN old_rates ON old_ratings.rate_id = old_rates.id"
connection.select_all(sql).each do |row|
puts row.inspect
rating = Rating.find_or_create_by_rateable_id_and_rateable_type(
:rateable_id => row['rateable_id'],
:rateable_type => row['rateable_type'],
Expand Down

0 comments on commit e521e7c

Please sign in to comment.