Sha256: 7e9b6eef0b3925147d49a284d3e7a9fccbf9d5ac933789c90cd80fd558b89e63

Contents?: true

Size: 149 Bytes

Versions: 1

Compression:

Stored size: 149 Bytes

Contents

class Note < ActiveRecord::Base
  belongs_to :note_of_sth, :polymorphic => true
  belongs_to :user

  def to_s
    "#{user}:#{created_at}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/models/note.rb