Sha256: 4d4bfa4665a53d7f776825b442dcd4451ab65148816a07e568774970579d0812

Contents?: true

Size: 104 Bytes

Versions: 2

Compression:

Stored size: 104 Bytes

Contents

class BookWithCustomPrimaryKey < ActiveRecord::Base
  self.primary_key = 'uid'
  belongs_to :author
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-basepack-0.8.1 test/basepack_test_app/app/models/book_with_custom_primary_key.rb
netzke-basepack-0.8.0 test/basepack_test_app/app/models/book_with_custom_primary_key.rb