Skip to content

Conversation

blooper05
Copy link
Owner

No description provided.

@blooper05 blooper05 added enhancement New feature or request bump:minor Attach to PR to automatically bump minor version on merge labels Jun 3, 2022
@blooper05 blooper05 self-assigned this Jun 3, 2022
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
class User < ActiveRecord::Base
default_scope -> { order('created_at desc') }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rails_best_practices] reported by reviewdog 🐶
default_scope is evil

@@ -0,0 +1,5 @@
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# refs. https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/protect_mass_assignment_review_spec.rb#L17-L18
class User < ActiveRecord::Base
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rails_best_practices] reported by reviewdog 🐶
protect mass assignment

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

🏷️ [bumpr] Next version:v0.1.0

@blooper05 blooper05 merged commit 6f9b099 into main Jun 3, 2022
@blooper05 blooper05 deleted the initial-implementation branch June 3, 2022 10:30
@github-actions
Copy link

github-actions bot commented Jun 3, 2022

🚀 [bumpr] Bumped! New version:v0.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump:minor Attach to PR to automatically bump minor version on merge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant