TIL about the name_of_person gem. Pretty cool!
🇧🇷 Senior developer @ thoughtbot.
📝 Blogging @ https://tbot.io/blog/matheus
💎 Organizer of http://rubydf.com
🇧🇷 Senior developer @ thoughtbot.
📝 Blogging @ https://tbot.io/blog/matheus
💎 Organizer of http://rubydf.com
TIL about the name_of_person gem. Pretty cool!
If you're building a PWA with Rails don't forget to ensure that you're rendering valid JSON on routes like /manifest.json.
I've added a test for that:
@hschne I just never ran into any problems like that. I think the community has been good with managing the global namespace.
Also, the idea of multiple versions of a library being used seems like a nightmare to me.
There has been a push towards fixtures for a while, but this global shared state is hurting me. It's hard to know which records are available for any given test, or if I should just modify a particular record for the current test. You change one thing, it breaks a test elsewhere.
How are y'all managing that? It seems messy.