Sha256: bc671fc41270b2057d66b5346d6dde522c2181364cd4429b734957512f6dd5d6

Contents?: true

Size: 131 Bytes

Versions: 55

Compression:

Stored size: 131 Bytes

Contents

class User < ActiveRecord::Base
  validates_uniqueness_of :name, :email
  
  def to_json
    super(:except => :password)
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
logical_model-0.7.6 models/user.rb
logical_model-0.7.5 models/user.rb
logical_model-0.7.4 models/user.rb
logical_model-0.7.3 models/user.rb
logical_model-0.7.2 models/user.rb
logical_model-0.7.1 models/user.rb
logical_model-0.7.0 models/user.rb
logical_model-0.6.6 models/user.rb
logical_model-0.6.5 models/user.rb
logical_model-0.6.4 models/user.rb
logical_model-0.6.3 models/user.rb
logical_model-0.6.2 models/user.rb
logical_model-0.6.1 models/user.rb
logical_model-0.6.0 models/user.rb
logical_model-0.5.13 models/user.rb
logical_model-0.5.12 models/user.rb
logical_model-0.5.11 models/user.rb
logical_model-0.5.10 models/user.rb
logical_model-0.5.8 models/user.rb
logical_model-0.5.7 models/user.rb