Still a work in progress

This commit is contained in:
Jason Denney
2012-12-26 21:21:58 -05:00
parent 985451f959
commit 4ebcbca081
11 changed files with 160 additions and 10 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
class ActsAsLoggable::BikeAction < ActiveRecord::Base
attr_accessible :action
belongs_to :bike
has_many :logs
def to_s
self.action
+1 -1
View File
@@ -2,7 +2,7 @@
class ActsAsLoggable::LogAction < ActiveRecord::Base
attr_accessible :action
belongs_to :log
has_many :logs
def to_s
self.action
+2 -1
View File
@@ -1,9 +1,10 @@
class ActsAsLoggable::UserAction < ActiveRecord::Base
attr_accessible :action
belongs_to :bike
has_many :logs
def to_s
self.action
end
end