Skip to content

Commit

Permalink
Removed last_name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rahult committed Feb 13, 2011
1 parent 8faf9e1 commit 24c8bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Expand Up @@ -11,7 +11,7 @@ class User < ActiveRecord::Base
:first_name, :last_name, :pivotal_initials, :default_project_id,
:default_labels, :pivotal_token

validates_presence_of :first_name, :last_name, :pivotal_initials, :pivotal_token, :on => :update
validates_presence_of :first_name, :pivotal_initials, :pivotal_token, :on => :update

# validate :validate_pivotal_token

Expand Down

0 comments on commit 24c8bec

Please sign in to comment.