Skip to content
Snippets Groups Projects
Commit bed29940 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Fixed Rubocop styling issues

parent e5925d07
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -62,7 +62,7 @@ class Note < ActiveRecord::Base
 
scope :with_associations, -> do
includes(:author, :noteable, :updated_by,
project: [:project_members, {group: [:group_members]}])
project: [:project_members, { group: [:group_members] }])
end
 
serialize :st_diff
Loading
Loading
Loading
Loading
@@ -9,10 +9,10 @@ if Rails.env.development? and RUBY_ENGINE == 'ruby' and ENV['ENABLE_LINEPROF']
class Sample < Rack::Lineprof::Sample.superclass
def format(*)
formatted = if level == CONTEXT
sprintf " | % 3i %s", line, code
else
sprintf "% 8.1fms %5i | % 3i %s", ms, calls, line, code
end
sprintf " | % 3i %s", line, code
else
sprintf "% 8.1fms %5i | % 3i %s", ms, calls, line, code
end
 
case level
when CRITICAL
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment