RubyCademy (@rubycademy) 's Twitter Profile
RubyCademy

@rubycademy

The best Ruby code examples on 𝕏.
For more PRO Tips and foundational knowledge: 🔗 rubycademy.com

ID: 1047792827386810368

linkhttps://newsletter.rubycademy.com calendar_today04-10-2018 10:17:31

1,1K Tweet

3,3K Takipçi

0 Takip Edilen

RubyCademy (@rubycademy) 's Twitter Profile Photo

⚠️ Your booleans might be skipping validations… Did you know that `toggle!` calls `update_attribute` under the hood, which skips ActiveRecord validations? #rubyonrails #activerecord

⚠️ Your booleans might be skipping validations…

Did you know that `toggle!` calls `update_attribute` under the hood, which skips ActiveRecord validations?

#rubyonrails #activerecord