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.

Always Use Double-quoted Strings in Ruby

If you’re nerdy about what quote style you use (single or double), especially in Ruby, give this a read and tell me what you think.

If you want us to tell you what we think, it would be easier for us to do that …
It’s easier to type single quotes - one keypress.
Said this on Twitter, will say it here: the Ruby style guide only says you shou…
@dave shudder The last thing I want on my blog is comments :) If I added them i…

whatson gem - Use $ beerfest to list upcoming beer festivals on command line

Hello, for fun I’ve added another dataset to the whatson gem that lets you list upcoming beer festivals from around the world. Ever wonder how many days to the next Oktoberfest? Just type in your shell: $ beerfest The command will fetch the beerfest event calendar page (from the intertubes) and print out: in 9d Ottakringer Braukultur Wochen, Thu-Wed Jul/2-Sep/2 (63d) @ 16., Ottakring › Vienna › Austria; in 88d Oktoberfest ("Die Wiesn"), Sat-Sun Sep/19-Oct/4 (16d) @ Munich › Upper Bavaria ... and so on. Cheers. Prost. Kampai.

To Serialize Or Not To Serialize: ActiveModel Serializers

Structuring data can be complicated, and on the web, everything is just a game of passing data back and forth. When it comes to serializing data into a JSON format, there’s one gem that can make your life infinitely easier: active_model_serializers! This blog post highlights when and how to implement a serializer in your Rails app, and how to customize it to fit your needs.

ANN Lotus v0.4.0

Features: additional architecture, database migrations, HTML5 form helpers, CSRF Protection, Force SSL. New Core Team member, Rails Girls Summer of Code and Guides! [more inside]

A gem to sync your CHANGELOG to GitHub’s release notes

I like GitHub’s Releases UI, but keeping it updated in addition to maintaining a CHANGELOG is tedious. So I created a gem called “chandler” to do it automatically. If you maintain a gem, just add chandler to your Rakefile, and rake release will now update GitHub’s release notes in addition to tagging and uploading to rubygems. Chandler also works interactively on the command line. Give it a shot!

Intro to the Docker Stats API with Ruby

The Docker Stats API provides a ton of information about running containers. See how easy it is to tap into key performance info (CPU, Network In, Network Out, etc..) with a couple Ruby scripts. This post walks thru the basics.

whatson gem - Use $ rubyconf to list upcoming Ruby conferences on command line

Hello, I’ve put together a Ruby gem, that is, whatson, that lets you list all upcoming Ruby conferences on the command line. Type in your shell: $ rubyconf The command will fetch the awesome ruby events page (from the intertubes) and print out: Jul/1+2 - RubyMotion Conference - #inspect @ Paris, France; Jul/20 - Brighton Ruby Conference @ Brighton, East Sussex, England ... and so on. Cheers.

Loading older posts