Class: Company
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Company
- Defined in:
- vendor/plugins/classic_pagination/test/fixtures/company.rb
Instance Method Summary
Methods inherited from ActiveRecord::Base
Instance Method Details
- (Object) validate
6 7 8 |
# File 'vendor/plugins/classic_pagination/test/fixtures/company.rb', line 6 def validate errors.add('rating', 'rating should not be 2') if == 2 end |