Introduction Software is constantly evolving, both in specification and implementation. Keeping an extensible and maintainable codebase is therefore crucial in order to deal with these changes quickly and easily. Ruby on Rails comes with a lot of good techniques and patterns out of the box that facilitate this. Nevertheless, some
It’s common these days to see apps that offer to sell you in-app content on your mobile device. Sometimes they only sell virtual things like coins, diamonds, and credits that give users access to certain functionalities. But on a lot of e-commerce apps, like Amazon, you can buy physical goods. Both types of apps have platforms that manage payments. And there are many payment platform options to choose from. This article lists some of them, along with their pros and cons.
You can’t always use the payment platform you want. You might want to sell virtual or digital goods on your app like coins and credits, but you don’t provide another way to do that like a web page. In this case, you must use in-app purchases to be approved by Apple. But if you run an e-commerce page where you sell solid goods like clothes, you can use other payment methods.
What is a Gem and Why build one? Gems are libraries of code that add functionality to projects. That code can add features to the product, help improve the quality of the code, or help build software faster. And why should you build a gem? Because publishing a gem that
ActionText is a new feature developed in rails 6 that aims to solve managing rich text content on apps on an easy way following conventions.
Counter caches are great until you get 20,000 people following the same influencer and the counter cache on that person locks the whole database. The goal of this post is to go through the basics of counter caches explaining possible alternatives to overcome this. What are counter caches for? Counter