This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on May 25th, 2012  |  syntax: Rails  |  size: 0.08 KB  |  views: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class Player < ActiveRecord::Base
  2.   attr_accessible :name
  3.   belongs_to :result
  4. end
clone this paste RAW Paste Data