fixed project_my_module method

This commit is contained in:
zmagod 2016-07-26 08:44:09 +02:00
parent 6053c782f9
commit c27ffa9fbf

View file

@ -105,7 +105,7 @@ class Project < ActiveRecord::Base
end
def project_my_modules
experiments.collect{ |exp| exp.my_modules }.first
MyModule.where('"experiment_id" IN (?)', experiments.select(:id))
end
def space_taken