David Montesdeocablog.davidmontesdeoca.es·Oct 28, 2024The one about linting in a legacy Ruby projectPreviously, I mentioned that I recently started working on a new project. New for me, of course. The platform of this American fintech consists of many applications developed in multiple programming languages, but mainly in Ruby. There are several de...Discussstandardrb
David Montesdeocablog.davidmontesdeoca.es·Sep 28, 2024The one about conditionals in RubyConditionals control the flow of execution of your program based on conditions that you define. In Ruby we have conditional statements such as if, else, elsif, unless, case, or the ternary operator. Here I would like to focus on what I consider to be...Discuss·26 readsRuby
Nathan Leecodedrop.io·Sep 28, 2023Stop Vim from autoformatting on saveIf you are editing a file and you don't want the autoformatter to run when you save a file one time, you can skip it by avoiding :w . Why? Maybe you just want to make a quick edit to a file, and you don't want prettier to run and change the file a to...Discussvim
Shloka Shahblog.shlokashah.com·Sep 24, 2022Configuring Rubocop in Code BaseRubocop is a code-style linter for Ruby based on the official Ruby style guide. Rubocop supports autocorrection & is flexible in terms of the configuration of various cops based on our preferences. In this blog post, we discuss the various steps on h...Discuss·409 readsTechnologyRubocop
Tomáš Králtomkral.hashnode.dev·Jul 5, 2022Setup Rubocop and Solargraph gems with Visual Studio CodeSetup Rubocop and Solargraph to work with Visual Studio Code can be sometimes cumbersome. Especially when you use rvm or rbenv and syncing your setting through multiple machines with different usernames. If you ever saw error messages like the ones b...Discuss·1 like·310 readsTechRuby
Andrew Fosterandrewfoster.hashnode.dev·Jun 8, 2022Monitoring code qualityI want to keep an eye on best practices when it comes to writing my Ruby. This includes style, security, performance and readability/maintainability. There are a number of tools to assist with this. Rubocop The standard style guide for Ruby has been ...Discuss·131 readsRails 7 ApplicationRubocop
Weverton TimoteoforSourceLevel's blogsourcelevel.hashnode.dev·Mar 15, 2022RuboCop: How to install and configureThat Code quality is important, and any high-performing team knows it, but do you follow a guideline to standardize your codebase and make sure that everyone is going and looking in the same direction? Making a brief introduction, this is the goal of...Discuss·37 readsRuby