tutorials

programming tutorials for Ruby, Rails, Gtk, Elasticsearch etc.
Elasticsearch bucket aggregations and faceted navigation - facets
A step by step tutorial for using Elasticsearch bucket aggregations to implement faceted navigation a.k.a. facets.

Full text searching Linux man pages with Elasticsearch

In this post we are going to play around with full text searching with Elasticsearch and Linux man pages.


Creating a bash completion script

I recently worked on creating a bash completion script for one of my toy projects and I enjoyed it very much.


Creating a Linux Desktop application with Ruby

Lately I was experimenting with GTK and its Ruby bindings and I decided to write a tutorial introducing this functionality. In this post we are going to create a simple ToDo application (something like what we created here with Ruby on Rails) using the gtk3 gem a.k.a. the GTK+ Ruby bindings.


Using elasticsearch in a Rails application

In this tutorial we are going to create a Ruby on Rails application that will use elasticsearch to allow users to store and search their content. The sample application will be a stupid simple blog and the data will be, what else, posts. The integration with elasticsearch will be accomplished via the elasticsearch gems for Rails and we will use Kibana to view and check our index configuration.


Creating a simple ToDo application with Ruby on Rails - Part 4

In the previous three posts we created a simple ToDo application with Ruby on Rails. In this last part we are going to deploy the application to OpenShift.


Creating a simple ToDo application with Ruby on Rails - Part 3

This is the third part of the tutorial. In this part, we are going to use Devise & CanCan in order to add authentication and authorization features to the application.


Creating a simple ToDo application with Ruby on Rails - Part 2

This is the second part of the tutorial for creating a simple ToDo application. In this part, we are going to:

  • implement the edit/delete actions accordingly
  • add some validations on the Task model

Creating a simple ToDo application with Ruby on Rails - Part 1

So, you learned how to say “Hello world” with Ruby on Rails and it’s time to move on since that app is not something you will use unless you are the only one survived on earth.


Saying hello world with Ruby on Rails

If you are new to Ruby I suggest you first read my previous post which in short explains why you should not give up on learning Ruby.