RR 438: Deviating from the Rails Core
Dave talks about his experience with ElasticSearch and how he simplified it. They discuss using MongoDB and Mongoid. They agree that although these are not Ruby specific, they can help. Dave, however, has not found a need for them, while Charles has found that it gave him more advantages in his schema. He talks about some other advantages of MongoDB. Dave and Charles discuss the default testing library for Rails, MiniTest. Dave prefers RSpec, but he still uses Mini test because it’s included in the rails core. He has found that RSpec benefits him, while Mini Test benefits his application, so he sticks to what’s included. He believes that sticking close to the core and counting on the widely used things keeping up to speed makes maintaining on the application easier, and things are less likely to break. They turn to discussing when it is appropriate to deviate. Again, Dave believes that small applications without a massive amount of traffic don’t need to deviate, but adds that unique situations require unique solutions. It’s important to Consider if the solution will box you into an infrastructure provider or long term maintenance on something you don’t usnderstand. They agree that the goal is to introduce the least amount of technical debt as possible.
- Dave Kimura
- Charles Max Wood
- Sentry | Use the code “devchat” for $100 credit
- Cloud 66 - Pain Free Rails Deployments Try Cloud 66 Rails for FREE & get $100 of free credits with promo code RubyRogues-19
"The MaxCoders Guide to Finding Your Dream Developer Job" by Charles Max Wood will be out on November 20th on Amazon. Get your copy on that date only for $2.99.
Charles Max Wood:
- The MaxCoders Guide to Finding Your Dream Developer Job
- It’s A Wonderful Life
- Mr. Kreuger’s Christmas
Why do the panelists prefer Stimulus over jQuery?
They both prefer jQuery over Stimulus as they find it less invasive and clunky, and it’s easier to drop things in.
What are the panelists opinions on deviating from the Rails core?
Why does Dave use MiniTest for testing when he prefers RSpec?
He has found that RSpec benefits him, while Mini Test benefits his application, so he sticks to what’s included
What are the benefits of sticking close to the core according to Dave?
Dave believes that sticking close to the core makes maintaining the application easier and things less likely to break.