Sha256: 95bf612a7f157c4173b789739f2485a52c0cbca9e6a0fc5507f1ad22bcf6be93

Contents?: true

Size: 159 Bytes

Versions: 21

Compression:

Stored size: 159 Bytes

Contents

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
active_metadata-0.8.1 spec/support/user.rb
active_metadata-0.8.0 spec/support/user.rb
active_metadata-0.7.9 spec/support/user.rb
active_metadata-0.7.8 spec/support/user.rb
active_metadata-0.7.7 spec/support/user.rb
active_metadata-0.7.6 spec/support/user.rb
active_metadata-0.7.5 spec/support/user.rb
active_metadata-0.7.4 spec/support/user.rb
active_metadata-0.7.3 spec/support/user.rb
active_metadata-0.7.2 spec/support/user.rb
active_metadata-0.7.1 spec/support/user.rb
active_metadata-0.7.0 spec/support/user.rb
active_metadata-0.6.9 spec/support/user.rb
active_metadata-0.6.7 spec/support/user.rb
active_metadata-0.6.6 spec/support/user.rb
active_metadata-0.6.5 spec/support/user.rb
active_metadata-0.6.4 spec/support/user.rb
active_metadata-0.6.3 spec/support/user.rb
active_metadata-0.6.2 spec/support/user.rb
active_metadata-0.6.1 spec/support/user.rb