Browse Source

Remove set_fixture_class, that's not how it's used

denney-disable-on-select
Jason Denney 12 years ago
parent
commit
718b04e7c0
  1. 2
      app/models/acts_as_loggable/bike_actions.rb
  2. 1
      app/models/acts_as_loggable/log_actions.rb
  3. 1
      app/models/acts_as_loggable/transaction_actions.rb
  4. 1
      app/models/acts_as_loggable/user_actions.rb

2
app/models/acts_as_loggable/bike_actions.rb

@ -1,5 +1,5 @@
class ActsAsLoggable::BikeActions < ActiveRecord::Base
set_fixture_class :bike_actions => ActsAsLoggable::BikeActions
#set_fixture_class :bike_actions => ActsAsLoggable::BikeActions
attr_accessible :action
belongs_to :bike

1
app/models/acts_as_loggable/log_actions.rb

@ -1,6 +1,5 @@
#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

1
app/models/acts_as_loggable/transaction_actions.rb

@ -1,5 +1,4 @@
class ActsAsLoggable::TransactionActions < ActiveRecord::Base
set_fixture_class :bike_actions => ActsAsLoggable::TransactionActions
attr_accessible :action
belongs_to :bike

1
app/models/acts_as_loggable/user_actions.rb

@ -1,5 +1,4 @@
class ActsAsLoggable::UserActions < ActiveRecord::Base
set_fixture_class :bike_actions => ActsAsLoggable::UserActions
attr_accessible :action
belongs_to :bike

Loading…
Cancel
Save