Interesting news about software development

jQuery
metaprogramming
git
conference
ajax
ruby
2n
rails
docker
project management
JavaScript
productivity
trailblazer
version control
graphql
tutorial
ES6
attribute accessors
SQL
graphql editor

Trailblazer tutorial: refactoring legacy rails views with Trailblazer Cells - part 5

Encapsulating backend business logic into Trailblazer operations is a very important part of building an app based on it, alongside contracts and moving logic from controllers. Another important st...

Blank

Krzysztof Piotrowski

Trailblazer tutorial: updating old fat controller - part 4.

Since we prepared and tested Operation and Contract to create Proposal with Trailblazer way, it is time to clean the mess in the controller. Let's remind how our controller #create action looks lik...

Adam

Adam Piotrowski

Trailblazer tutorial: refactoring fat controller - part 3.

Before we move our business logic to Operation class we still need to handle: Setting the speaker data, Updating the bio of current user based on the speaker from proposal bio. (Iteration 6) D...

Adam

Adam Piotrowski

Trailblazer tutorial: move business logic from controller - part 2.

Since we have basic cases and success flow tested and implemented, it is time to focus on our business logic which we want to move from controller to Operation. Our first identified logic is to ...

Adam

Adam Piotrowski

Trailblazer tutorial: fat controller - part 1.

Introduction We write web development software for ~20 years, we used Perl, PHP, Python, C#, and Java during the first 13 years of our existence. Now for the last 7 years, we decided to focus on o...

Adam

Adam Piotrowski

Basics of curses library in Ruby - Make awesome terminal apps!

Did you ever use Vim, top or its better alternative, htop? Immortal Midnight Commander? Or maybe the more user friendly version of du, ncdu? They are all terminal applications working in full scree...

Rafal2

Rafał Camlet

Make evrything louder! Stream processing in Ruby with ARGF

If you’ve ever used a terminal before (and surely you have, since you’ve taken interest in this blog post), it’s more than likely that you’ve had an opportunity of working with streams. Streams wer...

Rafal2

Rafał Camlet

Group operations

Today I want to talk about simple implementation of group (mass) operations. The idea was to add simple feature of assigning users to groups by selecting individual (or all) users using checkboxes ...

Blank

Mateusz Drozdowski

To use delegate or not to ? What other options do we have?

Everyone of us saw that kind of error: NoMethodError: undefined methodstreet' for nil:NilClass` That means, we are calling street method on nil value, which in our case is users Address, so it me...

Blank

Radosław Snarski

First steps in Rails

    Our first assignment as new interns was to make Blog Posts that were published visible to everyone at the website, and the Blog Posts that were not published visible only to logged in users. Af...

Blank

Mateusz Drozdowski