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.

SQL Literals in Squeel (or, Overriding Backticks in Ruby)

I just posted details about how Squeel overrides the behavior of backticks in its DSL blocks, along with some of the criteria I used when determining whether or not backticks were a good candidate for the behavior. I hope they’ll be useful as a starting point for thinking about overriding just about any default Ruby behavior in your code, especially backticks.

Placeholder images and Gravatar integration

This blog post describes how to easily display placeholder images when accessing remote images that might not exist, such as Facebook & Twitter profile picture. You can also automatically transform the placeholder images to any required size and format. In addition, this post explains how to use Cloudinary to easily embed Gravatar images while dynamically resizing them, applying face detection for better thumbnail generation and fast cached delivery through a CDN. Ruby on Rails sample code included.

Ruby CLI password manager reaches 1.0

PWS 1.0 has been released. It got new features on crypto level and tweaks in the command-line interface. I’ve also written a small blog post about my Ruby experiences I’ve had while implementing the gem.

Nice and simple way to use YAML configs

I just released basic_config. The main purpose is not to have to use raw Hash for this. Hopefully it’ll help you manage your configuration better.

Great work. Was just looking to add a config option to my bookshop gem. Looking…
Hi guys, checkout konf gem, we have been using it for a while - https://github.…

markdown_select 0.1 - Another Markdown Wrapper to Let You Use Your Library of Choice

I’ve extracted the code for handling the loading and selection of different markdown libraries (such as kramdown, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby, etc.) from the Slideshow gem and bundled up in its own gem, that is, markdown_select.

Too long for FP, but: – Use it like: require 'markdown_select' Markdow…
Why does markdown_select depend on kramdown? …
Thanks for highlighting multi_markdown. Will add it to the alternatives section…
NOTE: The gem moved to a simpler name. markdown_select is now just markdown. N…

Claws 1.1 Released

Claws provides a command line interface to your Amazon Web Services account. With this release it now properly supports multiple regions allowing all instances to be reported along with their region displayed. Check out a screenshot of the update on github. You can also read the initial announcement on rubyflow here.

Data Context Interaction (DCI) in Ruby

DCI (Data Context Interaction) is a new way to look at object-oriented programming. Instead of focusing on individual objects, the DCI paradigm focuses on communication between object. It improves the readability of the code, separates system behavior from static domain concepts, and most importantly tries to represent people’s mental models in the code. DCI-IN-RUBY.INFO is a project aiming to help all Rubyists become familiar with DCI.

Introducing Claws (Command Line AWS) 1.0

Amazon AWS users are all to familiar with the steps required to connect to an available instance. Using the management console you have to copy and paste the public dns name into the shell to construct the ssh command. It is annoying when the mouse isn’t placed just right and your clipboard is filled with more than what you want. Read more

There is also the ec2ssh gem and my modified version bscott-ec2ssh
That is true but the display is not as configurable and that gem only speaks EC…
I should also note that claws has tests :)
Loading older posts