| 
														
															@@ -8,10 +8,6 @@ module Blazer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     before_validation :set_state 
														 | 
														
														 | 
														
															     before_validation :set_state 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     before_validation :fix_emails 
														 | 
														
														 | 
														
															     before_validation :fix_emails 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    def set_state 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      self.state ||= "new" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    end 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     def split_emails 
														 | 
														
														 | 
														
															     def split_emails 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       emails.to_s.downcase.split(",").map(&:strip) 
														 | 
														
														 | 
														
															       emails.to_s.downcase.split(",").map(&:strip) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     end 
														 | 
														
														 | 
														
															     end 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -69,6 +65,10 @@ module Blazer 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     private 
														 | 
														
														 | 
														
															     private 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      def set_state 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        self.state ||= "new" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      end 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       def fix_emails 
														 | 
														
														 | 
														
															       def fix_emails 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         # some people like doing ; instead of , 
														 | 
														
														 | 
														
															         # some people like doing ; instead of , 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         # but we know what they mean, so let's fix it 
														 | 
														
														 | 
														
															         # but we know what they mean, so let's fix it 
														 |