Codestyle fixes

This commit is contained in:
Luka Murn 2016-08-30 13:06:49 +02:00
parent 9391eea6df
commit 0e0228cb8c
2 changed files with 8 additions and 2 deletions

View file

@ -255,7 +255,12 @@ class Organization < ActiveRecord::Base
def calculate_space_taken
st = 0
projects.includes(
experiments: { my_modules: { protocols: { steps: :assets }, results: { result_asset: :asset } } }
experiments: {
my_modules: {
protocols: { steps: :assets },
results: { result_asset: :asset }
}
}
).find_each do |project|
project.project_my_modules.find_each do |my_module|
my_module.protocol.steps.find_each do |step|

View file

@ -537,7 +537,8 @@ module FirstTimeDataGenerator
generate_result_comment(
temp_result,
user,
'PVY NTN 6dpi isolation seems to have failed, please repeat nanodrop measurement.'
'PVY NTN 6dpi isolation seems to have failed, ' \
'please repeat nanodrop measurement.'
)
temp_result.table = Table.new(
created_by: user,