Sha256: e63a907316dbbeba69b073239e1f1a223769523626e3bd149022a94a1eb85929

Contents?: true

Size: 274 Bytes

Versions: 55

Compression:

Stored size: 274 Bytes

Contents

class FileModel < ActiveScaffold::Tableless
  column :name, :string
  column :person_id, :integer
  self.primary_key = :name

  belongs_to :person

  def self.find_all(relation)
    []
  end

  def self.find_one(id, relation)
    nil
  end

  def destroy
    true
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
active_scaffold-3.6.15 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.14 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.13 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.12 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.11.1 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.11 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.10 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.9 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.8 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.6 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.5 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.4.1 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.4 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.3 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.2 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.1 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.0 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.0.rc2 test/mock_app/app/models/file_model.rb
active_scaffold-3.6.0.rc1 test/mock_app/app/models/file_model.rb
active_scaffold-3.5.5 test/mock_app/app/models/file_model.rb