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.

Multiple Levels of Subnavigation with Jekyll

In this post, we’ll discuss how to separate an HTML document into logical sections based on heading tags. I’ll all also show you a cool trick for rendering arbitrarily-deep subnavigation trees using Liquid templates. - http://blog.honeybadger.io/multiple-levels-of-subnavigation-with-jekyll/

Stop Worrying and Start Being Concerned: ActiveSupport Concerns

ActiveSupport is a pretty massive component within Rails, and it’s responsible for a ton of different functionality, including language extensions and utilities. The ActiveSupport::Concern wrapper is a particularly interesting utility for encapsulating shared logic, which can help keep your models skinny and DRY. This blog post delves into the basics of when, how, and why to use a concern.

I agree that Concerns help keep things DRY, but I don’t think they help with fa…
Loading older posts