Sha256: 21666b53c9c155586c7399441438fd50c68f869aee0acf8323a161398f1be380

Contents?: true

Size: 202 Bytes

Versions: 31

Compression:

Stored size: 202 Bytes

Contents

class Book < ActiveRecord::Base

  fields do
    title :string
    price :decimal, :precision=>8, :scale=>2
    code :string, :limit=>4
    comments :text
    timestamps
  end

  belongs_to :author
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
modalfields-1.5.7 test/model_cases/bare/after/book.rb
modalfields-1.5.6 test/model_cases/bare/after/book.rb
modalfields-1.5.5 test/model_cases/bare/after/book.rb
modalfields-1.5.4 test/model_cases/bare/after/book.rb
modalfields-1.5.3 test/model_cases/bare/after/book.rb
modalfields-1.5.2 test/model_cases/bare/after/book.rb
modalfields-1.5.1 test/model_cases/bare/after/book.rb
modalfields-1.5.0 test/model_cases/bare/after/book.rb
modalfields-1.4.7 test/model_cases/bare/after/book.rb
modalfields-1.4.6 test/model_cases/bare/after/book.rb
modalfields-1.4.5 test/model_cases/bare/after/book.rb
modalfields-1.4.4 test/model_cases/bare/after/book.rb
modalfields-1.4.3 test/model_cases/bare/after/book.rb
modalfields-1.4.2 test/model_cases/bare/after/book.rb
modalfields-1.4.1 test/model_cases/bare/after/book.rb
modalfields-1.4.0 test/model_cases/bare/after/book.rb
modalfields-1.3.0 test/model_cases/bare/after/book.rb
modalfields-1.2.2 test/model_cases/bare/after/book.rb
modalfields-1.2.1 test/model_cases/bare/after/book.rb
modalfields-1.2.0 test/model_cases/bare/after/book.rb