Commit 2bdeb9e2
app/models/user.rb
@@ -12,8 +12,7 @@ class User < ActiveRecord::Base
favorites.find { |favorite| favorite.user == self }
else
logger.info 'add creation'
- #creation.favorites.create({:user_id => self.id})
- creation.favorites.create({:user => self})
+ creation.favorites.create({:user_id => self.id})
end
end
doc/tasks
@@ -12,3 +12,5 @@
* rvm implode
* postgress from commandline would be good.
* rspec learning (do some).
+
+* 20120130032306