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.

Smart support of ElasticSearch indexes with Chewy and Capistrano deployment

Capistrano::Chewy gem allows to manage and continuously rebuild (reset) ElasticSearch indexes with Chewy and Capistrano v3 on the remote servers. It adds automatic conditionally reset for only modified Chewy indexes so the developer do not have to build them manually. Moreover, it adds the possibility of manual index management with the base Chewy tasks.

Static websites with webgen

The static website generator webgen has been in development for over a decade now. It provides the essential functionalities out of the box and is easy to use, even for non-programmers. Designed to be a general purpose static website generator it can be used for any kind of website, not just blogs. Read more

FYI: There’s also a sample site build with webgen in the Stay Static Series -&g…

Is it important to write tests when you're coding for yourself?

You have a flash of inspiration for a new program to write. You open your editor to start working on it, and hear a little voice in your head saying, “You know, you really should test your code…”

@PAT MADDOX: Isn’t it the same approach that @TOM DALLING proposed here few day…

Simple way to create public pages

Have you ever heard about public pages in Ruby? And what does it mean? So, it’s generally understood, they are used when there is no need for dynamic info or pulling from the database. As usual Ruby on Rails developers implement some pre-built gems. But I would like to show you another way to create public pages in your rails apps.

Kinda minor but I always thought of these as static pages. Public pages to me a…

How to generate & add sitemap to your Rails Application

In case your site has a couple of broken internal links or orphaned pages on it, by mistake, that cannot be visited in any other way, a sitemap can help your visitors reach them as well. However, it is any day better to let these errors not make it to your website in the first place. So, this article is all about how to generate and add a sitemap to your Rails Application.

Loading older posts