Commit f0acdba69d3d516b1c75ac293b4cfddfa8ba6980

Authored by Rodrigo Souto
1 parent 484a806c

Fix save without validation new api call

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/enterprise.rb
... ... @@ -109,7 +109,7 @@ class Enterprise < Organization
109 109 self.affiliate owner, Profile::Roles.all_roles(self.environment.id) if owner
110 110 self.apply_template template if self.environment.replace_enterprise_template_when_enable
111 111 self.activation_task.update_attribute :status, Task::Status::FINISHED rescue nil
112   - self.save_without_validation!
  112 + self.save(:validate => false)
113 113 end
114 114  
115 115 def question
... ...