We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Check for stuff like forgotten <% console %> or binding.irb as well as check out how others are using it
<% console %>
binding.irb
Make sure whatever can be done / makes sense to add to overcommit instead (to catch it sooner)
def foo @_foo = begin # setup foo end end
https://github.com/hopsoft/rails_standards
use ivars only once, when setting them up; then use atrr_reader
atrr_reader
def initialize(foo:) @foo = foo end def some_method_using_foo # ✅ foo + 1 # ❌ @foo + 1 end private attr_reader :foo
The text was updated successfully, but these errors were encountered:
RAI-45 Add Danger
Sorry, something went wrong.
trinitytakei
No branches or pull requests
Check for stuff like forgotten
<% console %>
orbinding.irb
as well as check out how others are using itMake sure whatever can be done / makes sense to add to overcommit instead (to catch it sooner)
https://github.com/hopsoft/rails_standards
use ivars only once, when setting them up; then use
atrr_reader
The text was updated successfully, but these errors were encountered: