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.

I Love Ruby - A free ruby book updated

Hello People, Read more

My 14 year-old daughter asked me to help her learn code. It was a toss-up betw…
Not Found The requested URL /index.php/s/u4sX065QRgjbJL2/download was not fo…

What do you think about `private def … end`?

Recently I was told that “too bad Ruby doesn’t support private def … end because it forces us to put related methods far from each other.” Read more

Avdi Grimm mentioned this in one of his early Ruby Tapas videos and I’ve been u…
The problem with use private isolate and the methods below it’s fact to be comp…
I think the key question is, “Does this make all my code more readable?” It …
Thank you all for the replies. Looks like it all boils down to how the code is …

Delay API calls to Twilio with Rails, Active Job and Sidekiq

Performing long running, blocking tasks during the course of a request is a top way to slow down responses for any web application. Things like HTTP requests to 3rd party APIs can tie up processes. We’ll see how to improve the situation using Active Job and Sidekiq to delay API calls and speed up our Rails application.

Solutions for Slugs of All Sizes: acts_as_url + to_param

Rails loves convention over configuration. But sometimes we need to tweak those configurations, like using a slug in our parameters instead of an object’s primary key! Luckily, we don’t need to reinvent the wheel, because this problem has been solved in a variety of ways. This blog post looks at one of those solutions, the acts_as_url library, and how it overrides Rails’ to_param method.

Loading older posts