test

Ruby code posted by shea
created at 17 Feb 02:56

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12

class User < ActiveRecord::Base
  has_many :posts
  has_many :sessions
  
  validates_presence_of :openid_identifier
  
  def full_name
    "#{self.first_name} #{self.last_name}"
  end
  
end
205 Bytes in 2 ms with coderay