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.

Be aware of time operations when using cache with expires_in

In the last post I exposed some methods to calculate time difference in seconds, minutes and hours using Ruby on Rails. Today, we will explore how a small difference on time operations can become a nightmare when dealing with cache with expires_in parameter. [more inside]

Level Up Your Command-Line-Fu With Ruby

To really master the command line you have to master dozens - if not hundreds - of small utility programs. Fortunately, it’s possible to replace a lot of these single-purpose tools with a general-purpose programming language like Ruby. This post will show you how you can use your Ruby skills to level up your command-line game. http://blog.honeybadger.io/ruby-unix-command-line/

RubyConf 2015: The Hows and Whys of Immutable Data Structures

Immutable data structures give us peace of mind, but using them is challenging. How do you build an immutable list? Why would you use one? Join us and learn what makes a data structure “persistent”, the holy grail combination of immutability and performance. We’ll see not just how to use them, but also why they’re a good idea and how they work. Most importantly, we’ll see how these data structures are useful in real-life programming scenarios. Master this cornerstone of functional programming and learn the answer to the ultimate riddle: how do you change a list while leaving it unchanged? [more inside]

Breaking the News: Wisper + Pub-Sub

As Rubyists, we often find ourselves trying to figure out the best way to both abstract out logic into self-contained components, as well as how to effectively send messages between objects. The publish-subscribe pattern is one solution to this problem, though it is far less common in Rails applications. This blog post looks at how to implement pub-sub in Ruby by using the wisper gem

Loading older posts