All Resources

Showing the most recent resources. The latest one is from 2019-10-10.
  • I published a series on Medium.com, explaining the algorithms behind RuboCop complexity metrics. The third part reveals the mathematical connections between different metrics. The series will help you with configuring cyclomatic complexity, perceived complexity, and, ABC size values for RuboCop analysis, which are not completely random.
    Article  Added by avmnu-sng // www.rubyflow.com // 5 days ago
  • Ruby and Ruby on Rails tricks from, dot files, operators, bundling, StimulusJS and more.
    Article  Added by kobaltz // www.driftingruby.com // 8 days ago
  • How can you assess code quality in a Ruby application? Here are three Ruby gems that you can use to quickly assess the quality of a Ruby codebase:

    - MetricFu
    - RubyCritic
    - Attractor
    Article  Added by etagwerker // www.fastruby.io // 12 days ago
  • I found this blog on medium which is very thorough and explains every bit.
    https://medium.com/@avmnusng/ruby-software-complexity-metrics-part-one-prerequisites-b6f86d76a4a5
    Article  Added by Ethanx2 // kutt.it // 14 days ago
  • Back in April, DigitalOcean announced its acquisition of Nanobox. As the result Nanobox will only be available via DigitalOcean with support for a limited number of languages and frameworks. All the changes will be fully implemented in the next 12 months and they aim to build more focussed DigitalOcean PaaS.

    I'm reaching out to developers who would either like to deploy to other cloud providers or to deploy frameworks or languages that will be deprecated by Nanobox via DigitalOcean.
    Article  Added by Kasia66 // blog.cloud66.com // 14 days ago
  • This is a loaded topic. Some would say that it is a matter of opinion, context and so on. Some would say that it is the right approach. I, on the other hand, deeply believe that using state machines in your code is just a form of lazy programming. In this short article I would like to show how to remove them altogether and follow SOLID principles of OOP.
    Article  Added by Beata // naturaily.com // about 1 month ago
  • ...if you need to have notification channels other than email (Slack, Webhooks,...) you need to build a lot yourself. Also, there is all the code around managing subscription: who gets what notification on which "channel" and allowing your users to subscribe and subscribe to those in the app...
    Article  Added by Kasia66 // blog.cloud66.com // about 1 month ago
  • We have all been there. We got a task to introduce totally new functionality. New database relations, controllers, services, models, views. We all said: this time it will be different. We asked the right business questions, and designed exactly what was requested. In spite of that, three sprints later, things got messy. The code is rigid, the business requirements have changed and the project is out of hand, again.
    Article  Added by Beata // naturaily.com // about 1 month ago
  • In this episode, we look into using Push Notifications within our Rails application and then using ActionCable to broadcast Push Notifications to the user.
    Tutorial  Added by kobaltz // www.driftingruby.com // about 1 month ago
  • See how Rails 6 has added protection against DNS binding attack issue that existed for a long time.
    Article  Added by prathamesh-sonpatki // prathamesh.tech // about 1 month ago
  • We started to notice that Honeybadger eventually failed to report errors from our lambda functions, which is very tricky because we rely on it to notifies us when something goes wrong.
    Article  Added by jalerson // dev.to // about 2 months ago
  • Miscommunication between business people and engineers is a common issue. While we could start pointing fingers and blaming either side, the problem will not go away on its own. Teams will miss deadlines because something was not clear, the product will fail to meet the client’s expectations, ergo he won’t be willing to pay another invoice because of it. Event storming might be a way to improve communications.
    Article  Added by Beata // naturaily.com // about 2 months ago
  • How easy is it to craft a Jekyll e-commerce website? Stunningly easy. Read this quick tutorial to put together a neat online shop with Jekyll & Snipcart.
    Tutorial  Added by Mathdio24 // snipcart.com // about 2 months ago
  • Parallel computing is a cure for performance issues. It allows to do several things at once, which sounds great in the context of background jobs. Inspired by Python’s multiprocessing module I began to think about the parallelism in Ruby. Of course, there are several ways to get closer, but in this post I’ll try to focus on the `Process` module.
    Article  Added by Beata // naturaily.com // about 2 months ago
  • render_async allows you to load partials by reacting with a specific HTML element.

    If you want your partial to be loaded when a button is clicked or hovered over, you can specify that in new render_async 2.1.1 version

    Also, you can start and stop polling a controller action with render_async using the new toggle feature.
    Tool  Added by nikolalsvk // github.com // about 2 months ago
  • This article will introduce you to the pub/sub pattern, and show you how to improve your Rails controllers by implementing it using the whisper gem.
    Article  Added by harmag // medium.com // 2 months ago
  • My side project Slack app Abot has recently reached a milestone of $10,000 total profit. In this blog post, I describe how the project has changed during the last year and what I am doing to grow and promote it. I also share some details about the usage stats and profit.
    Article  Added by pawurb // pawelurbanek.com // 2 months ago
  • How to start using TDD cycle in your daily work and why it is worth it.
    Article  Added by agndroids // www.thedroidsonroids.com // 2 months ago
  • Introducing to Konfig, an open-source Kubernetes friendly Rails configuration gem.
    Article  Added by Kasia66 // blog.cloud66.com // 2 months ago
  • When database tables get large, things can slow down significantly. In this episode, we look at a few things which helps keep databases performant and the client side responsive.
    Tutorial  Added by kobaltz // www.driftingruby.com // 2 months ago
  • Runbook is a Ruby gem that provides a high-level language for gradually automating system operations such as on-call playbooks, system maintenance, and code releases.
    Article  Added by pblesi // medium.com // 2 months ago
  • By explicitly picking out tests at will to run, we can develop faster!
    Article  Added by siaw23 // emmanuelhayford.com // 2 months ago
  • On June 21, the European Ruby Conference (EuRuKo) welcomed several hundred Rubyists aboard the ss Rotterdam, a historic ship. The two-day, single-track event featured a keynote from Yukihiro “Matz” Matsumoto, the inventor of the Ruby language, ample networking opportunities, and more boat puns than anyone had prepared themselves for.
    Article  Added by AnneLaure13 // www.welcometothejungle.co // 3 months ago
  • New week new bug to hunt down! A day after our last deployment at work, a new type of error started rising like a great wave. Random SQL update queries started failing at random with the following error:
    ActiveRecord::StatementInvalid: Mysql2::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE users SET ...
    Article  Added by tothpeter // blog.kalina.tech // 3 months ago
  • In this case study, I interviewed Trevor Hinesley about Soundstripe and Filepass, two startups that he co-founded, both of which run Rails applications on DigitalOcean with Cloud 66. Find out how these companies achieved DevOps best practices with our tools.
    Article  Added by Kasia66 // blog.cloud66.com // 3 months ago
  • Storing sensitive data in plaintext can seriously harm your internet business if an attacker gets hold of the database. Encrypting data is also a GDPR friendly best practice. In this tutorial I will describe a simple way to securely encrypt, store, and decrypt data using built in Ruby on Rails helpers instead of external dependencies.
    Tutorial  Added by pawurb // pawelurbanek.com // 3 months ago
  • I collected the experience and the lessons I learned during the process of upgrading Rails from 3.2 to 4.2 along with some undocumented changes and solutions for them.
    Article  Added by tothpeter // blog.kalina.tech // 3 months ago
  • Dragon Ruby is toolchain that allows developers the ability to build apps and games in Ruby. Giveaway - Follow @driftingruby and retweet this to enter to win. Event will end by August 1st, 2019.

    https://twitter.com/DriftingRuby/status/1148074922826194949
    Tutorial  Added by kobaltz // www.driftingruby.com // 3 months ago
  • After upgrading Rails 3.2 to 4.0 we had a new type of errors:

    ActiveRecord::StatementInvalid: Mysql2::Error: Data too long for column 'target_column'...

    It turned out we had to truncate DB fields based on byte size rather than the character length before saving them to the DB
    Article  Added by tothpeter // blog.kalina.tech // 3 months ago
  • In this article, we'll see a practical application of the command pattern and why it is applied to solve problems in some business areas.
    Article  Added by mgmerino // jobandtalent.engineering // 3 months ago