From 087325c444678b6c46962c13ffc3d18fb5898739 Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Mon, 2 Sep 2013 16:23:58 -0400 Subject: [PATCH] =?UTF-8?q?Whoops,=20only=20create=20once=E2=80=A6=20not?= =?UTF-8?q?=20for=20every=20update...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/bike.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/bike.rb b/app/models/bike.rb index f33b6fc..ffdc126 100644 --- a/app/models/bike.rb +++ b/app/models/bike.rb @@ -28,7 +28,7 @@ class Bike < ActiveRecord::Base self.per_page = 15 - after_save :create_task_list + after_create :create_task_list def brand self.bike_brand