Sha256: 32e277de610014e8c7ecad2a8f3b273659ffa61ce4a3ddd36e3bb9d0ede17230

Contents?: true

Size: 249 Bytes

Versions: 27

Compression:

Stored size: 249 Bytes

Contents

class User < ActiveRecord::Base

  if Rails::VERSION::MAJOR < 4
    attr_accessible :username, :email, :password, :password_confirmation, :remember_me
  end

  validates_presence_of :email
  after_validation :report_validation_errors_to_rollbar
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rollbar-2.18.2 spec/dummyapp/app/models/user.rb
rollbar-2.18.0 spec/dummyapp/app/models/user.rb
rollbar-2.17.0 spec/dummyapp/app/models/user.rb
rollbar-2.16.4 spec/dummyapp/app/models/user.rb
rollbar-2.16.3 spec/dummyapp/app/models/user.rb
rollbar-2.16.2 spec/dummyapp/app/models/user.rb
rollbar-2.16.0 spec/dummyapp/app/models/user.rb
rollbar-2.15.6 spec/dummyapp/app/models/user.rb
rollbar-2.15.5 spec/dummyapp/app/models/user.rb
rollbar-2.15.4 spec/dummyapp/app/models/user.rb
rollbar-2.15.3 spec/dummyapp/app/models/user.rb
rollbar-2.15.2 spec/dummyapp/app/models/user.rb
rollbar-2.15.1 spec/dummyapp/app/models/user.rb
rollbar-2.15.0 spec/dummyapp/app/models/user.rb
rollbar-2.14.1 spec/dummyapp/app/models/user.rb
rollbar-2.14.0 spec/dummyapp/app/models/user.rb
rollbar-2.13.3 spec/dummyapp/app/models/user.rb
rollbar-2.13.2 spec/dummyapp/app/models/user.rb
rollbar-2.13.1 spec/dummyapp/app/models/user.rb
rollbar-2.13.0 spec/dummyapp/app/models/user.rb