Add and apply Lint/BooleanSymbol rubocop rule
This commit is contained in:
@@ -172,6 +172,9 @@ Layout/TrailingWhitespace:
|
|||||||
Lint/AmbiguousRegexpLiteral:
|
Lint/AmbiguousRegexpLiteral:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Lint/BooleanSymbol:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Lint/ConstantDefinitionInBlock:
|
Lint/ConstantDefinitionInBlock:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class AddPublishedProposalToDashboardActions < ActiveRecord::Migration[4.2]
|
class AddPublishedProposalToDashboardActions < ActiveRecord::Migration[4.2]
|
||||||
def change
|
def change
|
||||||
add_column :dashboard_actions, :published_proposal, :boolean, default: :false
|
add_column :dashboard_actions, :published_proposal, :boolean, default: false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user