Open jefffederman opened 8 years ago
Rails 5 introduced new base model and mailer classes, and snippets relying on those language scopes no longer worked. This commit accounts for the new classes, allowing model and mailer snippets to work properly.
@infininight thoughts?
I was about to make the same PR. The association shortcuts are my most used ones, please consider merging this one 🙏 ❤️
Rails 5 introduced new base model and mailer classes, and snippets relying on those language scopes no longer worked. This commit accounts for the new classes, allowing model and mailer snippets to work properly.