Software engineering and personal development

Month: July 2018

Underestimated testing tool for Rails applications: Execute console commands with real data without fearing of losing it

Img source: careerfoundry.com

There can be cases when you need to test something with the actual data, in a production environment, but you do not want to risk anything. You do not want to even think about the possibility for a data loss of the project that you are working it. Luckily, there is a really beneficial feature that is not that much known from Rails developers is a quick tool that you can use to test out some code without changing any data in your real database.

Continue reading

How to switch between your Chrome tabs using your keyboard

There are times when you may need to have a lot of tabs open, and navigating through them can be a bit painful, as your list can be too crowded that you are not able to read any title from the list of tabs. You can only view the icons of your tabs. There is a great Chrome extension that allows you to search through your tabs and navigate through them by only using your keyboard.

Continue reading

Get some Windows XP flair inside Github

 

Windows XP is one of the most famous operating systems that used to be really hard to get rid of, even though Microsoft itself tried a lot of methods to convince its customers to do the migration to one of its newer operating systems. Now that Github has been bought by Microsoft, many people have started complaining in terms of the implications that this acquisition may have. On the other hand, there are other people who have started to make jokes about this movement. A Chrome plugin has been developed to turn Github into a layout that is similar to Windows XP.

Continue reading

Invalidate session after logout with Devise gem

Img source: interexchange.org

Devise is one of the most famous Ruby gems, which is a flexible authentication solution for Rails based on Warden. It comes with a lot of useful features, but it also has its limitations. One of them is that it does not invalidate a session even though you log out. One of the core developers behind Devise accepts it, and gives the advice of replacing cookie-based storage to address this issue. Fortunately, there is a quicker solution as well. Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑