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.

season-formats gem - read / parse and print seasons (e.g. 2020/21)

Hello, I have put together (extracted really) a little helper class for seasons and bundled up in the season-formats gem / library for easy (re)use that lets you read / parse and print seasons (using an academic e.g. 2020/21 or calendar year e.g. 2020). Cheers. Prost. PS: Bonus, yes you can use the new Season class with ruby’s built-in ranges too e.g. Season( '2010/11' )..Season( '2020/21' )

Where Do Ruby Blocks Come From?

It’s time to get reflective…time for some deep introspection…so light a candle or two, put some Barry White on the stereo, get nice and comfortable, because we’re going to talk about Blocks. Blocks in Ruby are powerful, and they’re used everywhere. But we’re not here to talk about how to write blocks per se or what they’re good for. We’re here to talk about where they come from.

RailsBump

Hello folks, I’m happy to present RailsBump, which I have been working on for a while! RailsBump is useful to anyone looking to upgrade the Rails version of their app. It shows you whether your favorite gem (or all gems in your Gemfile) is compatible with the next Rails release. Check it out and let me know what you think: https://railsbump.org/ If you have ideas for more features or run into problems, please open a Github issue: https://github.com/manuelmeurer/railsbump

Exploring Merge Sort With Ruby

You’ll probably never implement sorting from scratch. But sorting algorithms are foundational in computer science and have become a standard feature of the ritual hazing…er…interview process for developers at all levels. In this article, Julie Kent introduces us to the merge sort algorithm. She’ll show us how it works, implement it in ruby, and discuss its performance characteristics. [more inside]

Loading older posts