If you are a developer, you already know how important testing is in any software project. In particular, automatic testing, as it can help you to corroborate your coding, and quickly see what your program does what you want it to do. It also helps to corroborate any new changes
In the past few years, there has been a consistent rise in Single Page Applications (SPA). A lot of today’s web application tech stacks rely on JSON APIs in the backend, with a frontend app modifying the DOM in the web browser, to help create a fast and seamless experience
Working with large controllers How many times have you encountered large controller methods? If you are lucky like me, probably many times. One of the most common practices to start refactoring a long controller is to move the code to a service. Services are great, and if we code them in an
A huge amount of existing applications have registration and authentication for users. Maybe every developer in the world has implemented something related to this in their work or while they learned. After the creation of the Django REST framework, Django developers started to implement more and more app-level REST API endpoints.
If we want to write better and higher quality software, it is important we keep track of exceptions, crashes and errors happening in our environment, so we can deal with them. We, at Rootstrap, have created this OS exception tracking tool in order to ease the task of monitoring errors.
I think we are quite underpowered when it comes to doing queries on Rails, having this in mind I proposed my opinion on how we could improve this and made a PR. I also wanted to share it here to know what others think and maybe get some traction. The
Here at Rootstrap, security is one of the top priorities, for us and for our clients. We ensure that malicious users can’t access any sensitive information from our client’s web apps. In this blog post, you’ll learn how to configure two factor authentication with OneLogin for your admin panel. 1) Some
Here at Rootstrap, we don’t believe in reinventing the wheel. We believe in making things simple and high quality of course. In this blog post, you’ll learn how to start working with Stripe and quickly have fully functioning online payments in your apps. WHY STRIPE? Pros Easy to implement and use
We usually try to solve performance problems by using #includes to get rid of N + 1 queries but this doesn’t always fix the issue; in fact, it can even create more queries under some circumstances. This post shows a few examples of when that happens and how to deal with it.
Are you new to Rails? Or maybe just looking for any cool gem to use in your new API? Here is a list of gems we have on our Rails API Base that we consider a must-have in every Rails API project.