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.

Primo: A configurable default Rails stack using application templates

Rails application templates are awesome, especially for hackers that often need to set up the same basic app, but also for companies that want to promote their best practices. Sadly the ecosystem around them seems to be quite limited. Primo is a new gem that tries to solve this by adding a command line interface for defining your default template and share it with others. [more inside]

Simple way to test IO in Ruby

I was working on a small CLI over the weekend and wanted to test the user input on the command line and the output that the program will print out. I figured out this simple FakeIO class that helps me do that.

Conject Now Supports Lazy Dependency Resolution

Conject, my dependency injection tool for Ruby, has a few new features you might find useful: - Lazy, on-demand dependency resolution as an optional alternative to constructor injection. - All objects in the Ruby runtime may now access their context via the #object_context accessor. - You can now omit module-name prefixes when listing dependencies in construct_with and provide_with_objects for objects in the same module. Learn more.

Loading older posts