-
-
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
Rails/DynamicFindBy issue with Gem::Specification.find_by_name #51
Comments
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jun 6, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jun 6, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
8 tasks
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jun 17, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jun 17, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jul 2, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jul 2, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Jul 2, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Aug 13, 2019
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Mar 5, 2020
In `Rails/DynamicFindBy`. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Mar 6, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Mar 6, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Mar 6, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
5 tasks
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 19, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 19, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 19, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 19, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 19, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
tejasbubane
added a commit
to tejasbubane/rubocop-rails
that referenced
this issue
Apr 20, 2020
In `Rails/DynamicFindBy`. Also use `AllowedReceivers` & `AllowedMethods` instead of `Whitelist` which will be deprecated soon. Fixes rubocop#51.
koic
added a commit
that referenced
this issue
Apr 20, 2020
[Fix #51] Add ability to whitelist receiver class names
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The analyzer should not complain about
Gem::Specification.find_by_name
as this is not an ActiveRecord model and so usingfind_by_name
is correct:This is an old issue from the original Rubocop repo: rubocop/rubocop#4967
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: