Sha256: 030e48a0912e201cbef1f0713accedd86a389bf97fc9b0541b0fdf74ecfe9268

Contents?: true

Size: 188 Bytes

Versions: 14

Compression:

Stored size: 188 Bytes

Contents

# encoding: utf-8
class User < ActiveRecord::Base  
  set_table_name :users 
   
  has_one :inbox
  
  @@current_user = User.create!
  
  def self.current
    @@current_user
  end
    
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
active_metadata-0.5.2 spec/support/user.rb
active_metadata-0.5.1 spec/support/user.rb
active_metadata-0.5.0 spec/support/user.rb
active_metadata-0.4.2 spec/support/user.rb
active_metadata-0.4.1 spec/support/user.rb
active_metadata-0.3.2 spec/support/user.rb
active_metadata-0.3.1 spec/support/user.rb
active_metadata-0.3.0 spec/support/user.rb
active_metadata-0.2.4 spec/support/user.rb
active_metadata-0.2.3 spec/support/user.rb
active_metadata-0.2.2 spec/support/user.rb
active_metadata-0.2.1 spec/support/user.rb
active_metadata-0.2.0 spec/support/user.rb
active_metadata-0.1.9 spec/support/user.rb