Skip to content

Commit

Permalink
Merge pull request #828 from rails-sqlserver/rubocop-EmptyLines
Browse files Browse the repository at this point in the history
Rubocop: Enable Layout/EmptyLines cop
  • Loading branch information
wpolicarpo committed May 15, 2020
2 parents aae60f8 + e1040db commit fb170f9
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 197 deletions.
Expand Up @@ -8,7 +8,6 @@ module SQLServer
module CoreExt
module AttributeMethods


private

def attributes_for_update(attribute_names)
Expand Down
Expand Up @@ -248,7 +248,6 @@ def newsequentialid_function
select_value "SELECT NEWSEQUENTIALID()"
end


protected

def sql_for_insert(sql, pk, binds)
Expand Down
1 change: 0 additions & 1 deletion lib/active_record/connection_adapters/sqlserver/errors.rb
Expand Up @@ -5,5 +5,4 @@ module ActiveRecord
class DeadlockVictim < WrappedDatabaseException
end


end
1 change: 0 additions & 1 deletion lib/active_record/tasks/sqlserver_database_tasks.rb
Expand Up @@ -78,7 +78,6 @@ def structure_load(filename, extra_flags)
connection.execute File.read(filename)
end


private

def configuration
Expand Down
1 change: 0 additions & 1 deletion lib/arel/visitors/sqlserver.rb
Expand Up @@ -9,7 +9,6 @@ class SQLServer < Arel::Visitors::ToSql
FETCH0 = " FETCH FIRST (SELECT 0) "
ROWS_ONLY = " ROWS ONLY"


private

# SQLServer ToSql/Visitor (Overides)
Expand Down

0 comments on commit fb170f9

Please sign in to comment.