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]

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.

Dossier: Turn SQL into HTML, CSV, or JSON with ease

Adam Hunter and I recently released Dossier, a Rails engine for turning SQL queries into various report formats with minimal effort. The SQL can be hand-written and use all of your database’s features, or generated by something like ActiveRecord’s to_sql. See the README on Github for details.

Dude! Awesome stuff. Even as a fairly new Rails developer, I was able to get a …
Decorators as petite dresses though Conroy Nachtigall, Who evening dresses ex…

Dynamic attributes and MongoDB/Mongoid

Why is this cool you might ask? Well let me explain my problem; I want to create a web service that allows CRUD operations on objects called Events. Events have a name, start_time, and most importantly a game. Depending on the game attribute, each Event will have different game specific attributes. For example, I have an Event with a game value of ‘starcraft2’. Only Starcraft 2 Events have a region and a league attribute, while League of Legends Events have a min_elo attribute. How can we store these Event objects that have different attributes in our one document? Read more here

Loading older posts