Pro-tip: don’t name your local variables the same as your model associations. Truth: “7+ years Rails experience”, still a dumbass.
-
-
Replying to @olivierlacan
You might find https://github.com/diesel-rs/diesel/pull/1034 … interesting
1 reply 0 retweets 0 likes -
Replying to @sgrif
I feel like defining an instance method local variable identical to an association-defined method should raise warning in Rails. Am I nuts?
3 replies 0 retweets 0 likes
Replying to @olivierlacan
A *lot* of code would warn if they did that though
1:40 PM - 24 Jul 2017
from Ottawa - Gatineau
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.