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.

When using an API goes terribly wrong

API docs will tell you how to use an API. But when things go wrong, you can be left on your own. Error messages are often incomplete, misleading, or unhelpful. And what are you supposed to do with NoMethodError: undefined method '[]' for nil:NilClass, anyway? When you learn an API, framework, or library, you can’t just learn how to use it when things go well. You also need to figure out what to do when it hands an error back.

The ultimate list of Ruby / Rails resources

Ruby on Rails is so popular, that there are merely thousands of good sources of how to learn it. You can choose if you prefer online courses, video courses, live courses, tutorials, blog posts, books, screencats, podcasts or another way. You can learn Ruby and then Rails, you can learn both together, you can even learn only Rails without knowing much about the underlying language. So why write another article about it? I am offering you a very full list of resources, which will help you to find the right way of learning that fits your needs. Continue reading →

bhf Rails-Engine-Gem that offers an admin interface

I just launched bhf. A simple to use Rails-Engine-Gem that offers an admin interface for trusted user. Easy integratable, highly configurable and agnostic. Works with ActiveRecord and Mongoid. It’s an interesting alternative for ActiveAdmin with a slick user interface.

factbook gem - Turn World Factbook Public Domain Country Profiles into Open Data (e.g JSON)

Hello, I’ve put together a factbook gem that lets you read in World Factbook country profile pages (in HTML) and returns a structured Ruby hash that you can save, for example, as a pretty printed JSON file e.g. For Brazil use: Factbook::Page.new( 'br' ).to_json Find ready-to-use country profile in JSON in the openmundi/factbook.json repo. Thanks to the CIA for the great service (and public domain data - no rights reserved, no copyright). Cheers.

Cucumber rake runner

cucumber_rake_runner is a simple gem allowing you to run rake tasks inline to the current cucumber process for testing behavior and output. For Jruby users this also eliminates the need to spin up a new JVM per rake task significantly reducing test run time. The gem captures both stdout, stderr along with the time taken to execute a rake task so that assertions can be made easily against them in your cucumber test suite.

Gitlab Backup Made Easy

Gitlab is a self hosted open source repository management tool built on Ruby on Rails. It offers a variety of features like code reviews, merge requests and activity hooks. It’s the perfect tool for companies that do not want to rely on third parties to manage their code. But, with self hosting comes the added risk of server failure and data loss. [more inside]

Loading older posts