search for: 59b0e48

Displaying 1 result from an estimated 1 matches for "59b0e48".

Did you mean: 59048
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
...e]) + render :json => { :success => true, :data => usage } + end + + def remove + removed_ids = svc_destroy_all(params[:ids]) + render :json => { :success => true, :removed => removed_ids } + end +end diff --git a/src/app/models/usage.rb b/src/app/models/usage.rb index 59b0e48..883a888 100644 --- a/src/app/models/usage.rb +++ b/src/app/models/usage.rb @@ -22,6 +22,6 @@ class Usage < ActiveRecord::Base validates_presence_of :label validates_presence_of :usage - validates_uniqueness_of :usage + # validates_uniqueness_of :usage end diff --git a/src/app/servi...