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.

Ruby wrapper for vk API.

VK-RUBY gives you full access to all API features. Has several types of method naming and methods calling, optional authorization, file uploading, logging, irb integration, parallel method calling and any faraday-supported http adapter of your choice. [more inside]

Cloud-based animated GIF generation

This blog post details a programmatic way to easily create image compositions, build image-based animations and generate animated GIFs. All image transformation, layering, effects and animation generation are done by Cloudinary in the cloud (no software installation required). Dynamic URLs and Ruby sample code included.

Please stop advertising so much here. You just posted yesterday.

Validating nested associations in Rails

Not so long ago, I ran into problem of validating the number of nested attributes when using accepts_nested_attributes_for in Rails. I would like to share with you the solution I’d found in the form of this article. It shows the general principles of using nested attributes, as well as a couple of interesting tasks and their solutions.

gem-patch: a RubyGems plugin for patching gems

I released a gem-patch plugin for RubyGems. The plugin adds the patch command to RubyGems. The patch command helps to patch gems without manually opening and rebuilding them. It opens a given .gem file, extracts it, patches it with system patch command, clones its spec, updates the file list and builds the patched gem. It works on both RubyGems 1.8 and 2.0, branch for each version is also available. [more inside]

Git Runner: Ruby framework to run tasks after git push

Git Runner is a ruby framework to implement and run tasks after code has been pushed to a Git repository. It works by invoking git-runner through hooks/post-update in your remote Git repository. Have a look at this Demonstration video (ascii.io recorded) of Git Runner performing an application deploy (using capistrano) after code has been pushed to the remote repository. Documentation is fairly light at this time but all that really needs to be done is: install gems (git-runner and git-runner-deploy) and symlink hooks/post-update to git-runner.

Write Hadoop jobs in Ruby using Rubydoop

Rubydoop makes it possible to write Hadoop jobs in Ruby without using the streaming APIs. It configures the Hadoop runtime to run your Ruby code in an embedded JRuby runtime, and it provides a configuration DSL that’s way nicer to use than Hadoop’s ToolRunner.

Attachinary - a modern attachments solution for Ruby on Rails

This blog post describes Attachinary, a great new attachment management library for Ruby on Rails by Milovan Zogovic. Non-intrusive integration with your model, minimal code changes. Uses Cloudinary for uploading files to the cloud, transforming images and delivering files through a fast CDN. No need to install any image manipulation software. Built-in integration with jQuery-based direct uploading from the browser.

Loading older posts