]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Migration to add close-time to changesets. This replaces the boolean 'open' attribute...
[rails.git] / app / models / relation_member.rb
index 1cb6d7131a6d1c434b0a1158a3f65ced3b5b90f6..f3033d1c641494225b15dc77ac108ee623866249 100644 (file)
@@ -10,7 +10,7 @@ class RelationMember < ActiveRecord::Base
   end
 
   def after_initialize
   end
 
   def after_initialize
-      self[:member_class] = self.member_type.capitalize if !self.member_type.nil?
+    self[:member_class] = self.member_type.capitalize unless self.member_type.nil?
   end
 
   def before_save
   end
 
   def before_save