-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix #43] Remove change_column_null
from BulkChangeTable
#48
[Fix #43] Remove change_column_null
from BulkChangeTable
#48
Conversation
@wata727 You are the original author of this cop and the developer who added this feature. Do you have any concerns about including this change? |
@koic Thank you for letting me know, and sorry I missed it. This change makes sense to me. Btw, I have a little concern if it is worthwhile to force this style for now. While it is worthwhile to get to know the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@wata727 Thank you for your quick response and review. diff --git a/CHANGELOG.md b/CHANGELOG.md
index abdf246cb..58874e715 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## master (unreleased)
+### Bug fixes
+
+* [#43](https://github.com/rubocop-hq/rubocop-rails/issues/43): Remove `change_column_null` method from `BulkChangeTable` cop offenses. ([@anthony-robin][])
+
## 2.0.1 (2019-06-08)
### Changes |
a43a98a
to
d551dcb
Compare
@koic Thanks, I just rebased ! |
d551dcb
to
0582a9d
Compare
CHANGELOG.md
Outdated
@@ -2,6 +2,10 @@ | |||
|
|||
## master (unreleased) | |||
|
|||
### Bug fixes | |||
|
|||
* [#43](https://github.com/rubocop-hq/rubocop-rails/issues/43): REMOVE `change_column_null` method from `BulkChangeTable` cop offenses. ([@anthony-robin][]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace REMOVE
with Remove
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, done !
The `change_column_null` method does not have corresponding method to use in the suggested `change_table` version. We should remove it from the offended methods list.
0582a9d
to
8fa626d
Compare
change_column_null
from BulkChangeTable
change_column_null
from BulkChangeTable
Thanks! |
The
change_column_null
method does not have corresponding method touse in the suggested
change_table
version.We should remove it from the offended methods list.
Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).and description in grammatically correct, complete sentences.
bundle exec rake default
. It executes all tests and RuboCop for itself, and generates the documentation.