Module: Abstract
- Defined in:
- lib/dm-is-reflective/test.rb
Defined Under Namespace
Classes: Cat, Comment, SuperUser, User
Constant Summary collapse
- Tables =
%w[abstract_cats abstract_comments abstract_super_users abstract_users]- AttrCommon =
{:allow_nil => true}
- AttrCommonPK =
{:serial => true, :key => true, :allow_nil => false}
- AttrText =
{:length => 65535}.merge(AttrCommon)
Class Method Summary collapse
Class Method Details
.next_id ⇒ Object
63 64 65 66 |
# File 'lib/dm-is-reflective/test.rb', line 63 def self.next_id @id ||= 0 @id += 1 end |