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.63 test/models/vote_classes.rb
redmine_crm-0.0.62 test/models/vote_classes.rb
redmine_crm-0.0.61 test/models/vote_classes.rb
redmine_crm-0.0.60 test/models/vote_classes.rb
redmine_crm-0.0.59 test/models/vote_classes.rb
redmine_crm-0.0.58 test/models/vote_classes.rb
redmine_crm-0.0.57 test/models/vote_classes.rb
redmine_crm-0.0.56 test/models/vote_classes.rb
redmine_crm-0.0.55 test/models/vote_classes.rb
redmine_crm-0.0.54 test/models/vote_classes.rb
redmine_crm-0.0.53 test/models/vote_classes.rb
redmine_crm-0.0.52 test/models/vote_classes.rb
redmine_crm-0.0.51 test/models/vote_classes.rb
redmine_crm-0.0.50 test/models/vote_classes.rb
redmine_crm-0.0.49 test/models/vote_classes.rb
redmine_crm-0.0.48 test/models/vote_classes.rb
redmine_crm-0.0.47 test/models/vote_classes.rb
redmine_crm-0.0.46 test/models/vote_classes.rb
redmine_crm-0.0.45 test/models/vote_classes.rb
redmine_crm-0.0.44 test/models/vote_classes.rb