lib/generators/rich/authlogic_user/templates/model.rb in rich_cms-2.1.1 vs lib/generators/rich/authlogic_user/templates/model.rb in rich_cms-2.1.2
- old
+ new
@@ -3,10 +3,6 @@
acts_as_authentic do |c|
c.login_field = :email
c.crypted_password_field = :crypted_password
end
- def to_key
- new_record? ? nil : [self.send self.class.primary_key]
- end
-
end
\ No newline at end of file