You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a common use case in one of my codebases (and new false positive for the cop) where you have two or three users joined in context specific ways for a transaction. e.g.
what's more, the autocorrect happily deletes the second line when asking for --safe-auto-correct. this autocorrect should not be marked safe, i.e. should only work with -A
Introduced by PR #1145.
The documented "bad"
belongs_to
example is a false positive.The following example should make this clear:
Contrary to
has_many
, the names ofbelongs_to
associations are not arbitrary, as they implicitly reference the foreign key.Originally posted by @franzliedke in #1145 (comment)
The text was updated successfully, but these errors were encountered: