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.

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. [more inside]

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.

New Qk/Quik Starter Scaffold - Jekyll Gem-Packed Theme - $ quik new jekyll-theme

Hello, Starting w/ Jekyll v3.3 you can package your themes (layouts, includes, assets) into gems. To show how easy it is to add new scaffolds to quik/qk - the missing code generator / scaffolder for ruby I’ve put together a new scaffold for gem-packaged jekyll themes that mirrors/copies the $ jekyll new-theme command. Try: $ quik new jekyll-theme to get started. This will use the jekyll-theme.rb quik starter script and the quickstart/jekyll-starter-theme template (just a plain git repo). ++ If anyone tries out qk/quik, let us know what you think. ++ PS: You’re invited to add your own scaffolds (gem starters, sinatra starters, jekyll starters, etc.).

macOS and macOS Config 1.0.0

With macOS Sierra released, these two projects (written in Bash – no other dependencies) provide a way to setup new machines using macOS Sierra and your development tools loaded and configured: [more inside]

Laptop by thoughtbot does the same thing FWIW.
True, that is a good alternative and worth checking out.

Developing as a developer - a journey through learning

Learning new things can sometimes be difficult and frustrating no matter how motivated you are. I have gathered and wrote down some ideas, thoughts and advices from my journey as a Ruby on Rails learner (but I think that it has a lot of universal truths that can be applied in other topics). I hope that some of you will find useful tips, inspiration or motivation to share their stories:

How to make your Rails Application Multilingual

Most of the world doesn’t speak English. That’s where internationalization and localization come in. Rails has a great i18n API. It provides an easy-to-use and extensible framework for translating your application to a single custom language other than English or for providing multi-language support in our application. Check out Rails gem approach, MySQL approach and a Multilingual Rails structure

Deploying a rails app with Docker compose

In this article I will assume we have a ruby on rails application that is using a database to store some data, and capistrano for deployment and you want to deploy in on your server but instead of deploying directly on your server you want to dockerize the whole project to give it a separate environment and keep it away from your other applications. [more inside]

Loading older posts