Skip to content

Conversation

blooper05
Copy link
Owner

No description provided.

@blooper05 blooper05 added enhancement New feature or request bump:major Attach to PR to automatically bump major version on merge labels Jun 17, 2022
@blooper05 blooper05 self-assigned this Jun 17, 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
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# @see 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') }

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

# 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
# @see https://github.com/flyerhzm/rails_best_practices/blob/HEAD/spec/rails_best_practices/reviews/default_scope_is_evil_review_spec.rb#L12-L14
# @see 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

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

🏷️ [bumpr] Next version:v1.0.0 Changes:v0.2.2...blooper05:preparation-for-v1-release

@blooper05 blooper05 merged commit afe6f70 into main Jun 17, 2022
@blooper05 blooper05 deleted the preparation-for-v1-release branch June 17, 2022 01:38
@github-actions
Copy link

🚀 [bumpr] Bumped! New version:v1.0.0 Changes:v0.2.2...v1.0.0

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

Successfully merging this pull request may close these issues.

1 participant