MVC – design pattern

One of my target is writing about Ruby on Rails. So today we start. This article will be about main software design pattern in Rails. We call it MVC – Model View Controller. But from the beginning. What is software design pattern? Hmm… it is like good recipe for chocolate cake. Many people do chocolate cake onces better, others worse. But when we have good recipe we share it with others. They try and tell what they think about it. If it really good many people started using. The same is with software design pattern. It is some of good...

Rails Girls Silesia 2014

It took me a long way from being a participant in Rails Girls workshops, through being a mentor and right now organizing Rails Girls in Gliwice. I’m very proud of our team. It was hard work and lot of engagement. And now my dream came true! Let’s start this story from the beginning… My adventure with Rails Girls started in 2013. I got information about the Rails Girls workshop in Wroclaw. Unfortunately, because I was scared and not sure of my skills, I didn’t register. After registration was closed I regretted my decision. I promised myself that I will participate...

Guake terminal

Today, I would love to share with you a very simple, but useful tool. I use it for years now, and I think it is irreplaceable. This is Guake terminal. What is Guake? It is a drop-down terminal for Linux with GNOME Desktop Environment. When you use KDE Desktop Environment, you can check the Yakuake terminal. It’s similar to Guake. OK, but I don’t know which Desktop Environment I use? By default, GNOME is used by systems such as Fedora, Debian, Ubuntu, or Mint. So, if you use any of those Linux distributions, you probably use GNOME. Advantages of Guake...

Ruby Hash Tips

Today I will show you some Hash tips, which I like. But before that what really is this hash? Hash is a very specific Array where as a key we can use anything we want and order to this key some value or values. For example: If we have books and theirs authors. We can connect author to his books. When we call author then we see his/her books. hash = { 'Carlos Ruiz Zafon' => ['La Sombra del Viento', 'El Juego del Angel'], 'Antoine de Saint-Exupery' => 'Le Petit Prince' } hash['Carlos Ruiz Zafon'] # => ['La Sombra del...

Rails Girls Cracow

Rails Girls Cracow

This will be short note. A few weeks ago I was a coach on Rails Girls Kraków. This time workshops were differently. Girls were very young but with big motivation. I thought wonderful girls, with so much positive energy. They support me and I felt great teaching them. After all I have some new tips:

Open Source Days

Open Source Days

Date: 2014-03-28 – 2014-03-30 Place: Bielsko-Biała, PL 28 March was the first day of DWO conference and in fact it was the first DWO conference for me. From the beginning I felt special character of this event. Organizations really cared about quality, interesting presentations and people. Friday Friday was good introduced to things which will be happening through all weekend. I listen four great presentations. And here is a brief summary of this: Open Source – Kamil Gałuszka When you use Open Source project try to help with their development. You can start with fixed documentation, reports bugs or issues....

Ruby Array Tips

Ruby have great documentation for Array method for example like this. To day I want to focus not on methods in documentation but some tips I know in Ruby with Array. Let’s start: Create Array with strings: %w{ 1 2 3 4 } => ["1", "2", "3", "4"] Create Array with the same number: [2]*5 => [2, 2, 2, 2, 2] Create Array with ordered numbers: (1..4).to_a => [1, 2, 3, 4] Create Array with even numbers: (2..10).step(2).to_a => [2, 4, 6, 8, 10] Show last element in Array: array = [1, 2, 3, 4] array[-1] => 4 Show part...

Rails Girls welcome back!

Rails Girls welcome back!

Date: 2014-02-22 – 2014-02-23 Place: Warsaw, PL Couple months ago was participate in Rails Girls Poznan. It was great experience for my. And now I had big challenge. I was coach in Rails Girls Warsaw. I was so nervous. I couldn’t say anything snuffly. I was afraid that girl don’t understand what I want to say then. But then I had wonderful team. Ewa, Magda and Patrycja are very smart, beautiful and motivated women. They have so many patience and support for me all the time. They tried hard again and again, asked some questions, fixed bugs and keep going...