mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
12 years ago
4 changed files with 25 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||
class ActsAsLoggable::BikeActions < ActiveRecord::Base |
|||
set_fixture_class :bike_actions => ActsAsLoggable::BikeActions |
|||
attr_accessible :action |
|||
|
|||
belongs_to :bike |
|||
end |
@ -0,0 +1,7 @@ |
|||
#this might be good for logging CRUD actions |
|||
class ActsAsLoggable::LogActions < ActiveRecord::Base |
|||
set_fixture_class :log_actions => ActsAsLoggable::LogActions |
|||
attr_accessible :action |
|||
|
|||
belongs_to :log |
|||
end |
@ -0,0 +1,6 @@ |
|||
class ActsAsLoggable::TransactionActions < ActiveRecord::Base |
|||
set_fixture_class :bike_actions => ActsAsLoggable::TransactionActions |
|||
attr_accessible :action |
|||
|
|||
belongs_to :bike |
|||
end |
@ -0,0 +1,6 @@ |
|||
class ActsAsLoggable::UserActions < ActiveRecord::Base |
|||
set_fixture_class :bike_actions => ActsAsLoggable::UserActions |
|||
attr_accessible :action |
|||
|
|||
belongs_to :bike |
|||
end |
Loading…
Reference in new issue