Sha256: d3b85eb76b4d9fdf15e8e9c6360de2ad532de35027e397e5aa2afdaa7d9f07e2

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

class IdGen < ActiveRecord::Base
  set_table_name  :id_gen
  set_primary_key :gen_key

  # Relationships
  

  # Constraints
  validates_numericality_of :gen_value
  validates_presence_of :gen_value
  validates_uniqueness_of :gen_key
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
legacy_data-0.2.1 examples/generated/j2ee_petstore_sqlite3/id_gen.rb
legacy_data-0.2.0 examples/generated/j2ee_petstore_sqlite3/id_gen.rb
legacy_data-0.1.12 examples/generated/j2ee_petstore_sqlite3/id_gen.rb
legacy_data-0.1.11 examples/generated/j2ee_petstore_sqlite3/id_gen.rb
legacy_data-0.1.10 examples/generated/j2ee_petstore_sqlite3/id_gen.rb