Sha256: fc686f0b6914334f94f71b58bd9f48ec5ad8ca308c4dca425bfd385a54f362ce

Contents?: true

Size: 600 Bytes

Versions: 29

Compression:

Stored size: 600 Bytes

Contents

class Voter < ActiveRecord::Base
  rcrm_acts_as_voter
end

class Votable < ActiveRecord::Base
  rcrm_acts_as_votable
  validates_presence_of :name
end

class VotableVoter < ActiveRecord::Base
  rcrm_acts_as_votable
  rcrm_acts_as_voter
end

class StiVotable < ActiveRecord::Base
  rcrm_acts_as_votable
end

class ChildOfStiVotable < StiVotable
end

class StiNotVotable < ActiveRecord::Base
  validates_presence_of :name
end

class VotableChildOfStiNotVotable < StiNotVotable
  rcrm_acts_as_votable
end

class VotableCache < ActiveRecord::Base
  rcrm_acts_as_votable
  validates_presence_of :name
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
redmine_crm-0.0.43 test/models/vote_classes.rb
redmine_crm-0.0.42 test/models/vote_classes.rb
redmine_crm-0.0.41 test/models/vote_classes.rb
redmine_crm-0.0.40 test/models/vote_classes.rb
redmine_crm-0.0.38 test/models/vote_classes.rb
yeshua_crm-1.0.1 test/models/vote_classes.rb
yeshua_crm-1.0.0 test/models/vote_classes.rb
yeshoua_crm-1.0.0 test/models/vote_classes.rb
redmine_crm-0.0.37 test/models/vote_classes.rb