Sha256: 679ff0d539700dfb8a200ad0da02d3db3373938a0bccf6683b5caa056de43141

Contents?: true

Size: 261 Bytes

Versions: 8

Compression:

Stored size: 261 Bytes

Contents

class Artist
  require "active_model"
  include ActiveModel::Conversion
  include ActiveModel::Naming

  def persisted?
    true
  end

  def parents
    []
  end

  def name
    "artist"
  end

  def id
    1
  end

  # def artist
  #   Artist.new
  # end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cells-4.0.5 test/rails4.2/app/models/artist.rb
cells-4.0.4 test/rails4.2/app/models/artist.rb
cells-4.0.3 test/rails4.2/app/models/artist.rb
cells-4.0.2 test/rails4.2/app/models/artist.rb
cells-4.0.1 test/rails4.2/app/models/artist.rb
cells-4.0.0 test/rails4.2/app/models/artist.rb
cells-4.0.0.rc1 test/rails4.2/app/models/artist.rb
cells-4.0.0.beta6 test/rails4.2/app/models/artist.rb