RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Fighting the Hydra of N+1 queries

A huge insight into the problem of N+1 queries with Rails: starting from the junior-level stuff (what is it and how to fight it) moving to the usage of bullet gem, hardcore problems caused by the complexity of the application and DRY/OO patterns used — and ramblings on how to tackle the problem at its root. [more inside]

Nice article!

Testing a Feature with Rails and RSpec: A deep dive

One of the things I hear most from developers who are new to Ruby and Rails, or just to testing is, How do you get started? What should I test? The value of testing your code and the confidence it brings is already apparent, but how to make it happen seems to be missing. In this post I address how I approach testing a fairly simple, but non trivial feature from start to finish.

One more article about ruby best practice

Everyone engineer should read tech literature in free time. When you are reading you learn a lot of new things. You read about someone’s experience, best practice and fails. With that useful information you can see new opportunity, can make your code better and more stable, can create new features better and faster. In this article I want to share some good practice that I have read in tech literature. [more inside]

A better "bundle update"

If bundle update for your Rails projects is a risky a frustrating process, try bundleup instead! I wrote bundleup to use the same Bundler commands behind the scenes, but added some nice enhancements. My favorite feature is how it color-codes the gems that will be upgraded according to semver, so you can immediately spot the minor (yellow) and major (red) version changes that might cause your app to break. Install it with gem install bundleup and check out the documentation on GitHub!

Nice! Will try tomorrow (I do bundle update every morning)

Ruby: How a Language Reflects its People

What are the values that entered into the language by way of its core committers and what are the values we identify with as a community? How can making these values explicit help us foster a better community? What might Ruby be like if its community were primarily French, German, Italian rather than English-speaking and Japanese?

SOLID Object-Oriented Design Principles with Ruby Examples

SOLID principles are five object-oriented design principles that help developers design flexible architectures that are easy to update and extend over time. In this post we’ll talk about the practical side of applying SOLID design patterns and will provide examples in Ruby.

Link is : https://rubygarage.org/blog/solid-principles-of-ood …
Loading older posts