Quality web development

Small development team from Novi Sad, Serbia building top notch web and mobile apps.

Contact Us Our Stack

Ruby on Rails, AngularJS, BackboneJS, ReactJS and more.

Blog:

Learn jQuery with Rails

In order to learn jQuery fast, and use it withing your Ruby on Rails project, we would advise following steps: Learn basics of JavaScript You can freely skip some steps here and there which you find that you already know. https://www.codecademy.com/learn/javascript Learn basics of jQuery https://www.codecademy.com/learn/jquery When you finish learning basics of JavaScript so you […]

Ruby programming beginners guide

We are writing this brief tutorial on how to easily get into Ruby programming language and Ruby on Rails framework, so our community can grow with new developers. First thing first, Ruby on Rails framework is based on Ruby programming language, and the learning should start from there. Our recommended steps: Ubuntu installation instructions We […]

Cucumber cheat sheet

Cucumber cheat sheet is very hard to find. Trying to find it, you will most likely to find Capybara cheat sheet which imposes as ‘Cucumber’, but in fact those are two different things. Here I am going to list the common list of cucumber steps used in tests: Form interaction And I click on “Some […]

Ruby on Rails code quality

In this article we will point out steps on what can you do in order to improve your code quality in Ruby on Rails apps that you are building. Follow up Ruby style guide Yes, let’s start from basics. You can read community driven Ruby style guide at https://github.com/bbatsov/ruby-style-guide Follow up Rails style guide You […]

Lodash library usage examples

Lodash library usage with JavaScript Using lodash library Usign lodash library makes you not reinvent weel when writing JS code. The good definition is :”Applicative programming is the pattern of defining a function that takes a function and then invokes that function for each element in a collection/list” A very neat example you can find […]

Elastic search on Rails

Elastic search is a mirror db with indexes of your existing DB, which is seachable trough JSON API. In order to perform search you will need to have the data synced between your DB and ElasticSerach. This can be done via rivers to pull data from your application or to push data to your ES […]

Live Reload for Rails

Have you ever wanted to make changes in your Rails app and to immediately see changes in Browser? If so, you can consider using Live Reload Rails feature Install livereload Ubuntu sudo apt-get install python-livereload Install Chrome extension https://chrome.google.com/webstore/detail/livereload Enable http fecth in settings or Use rack https://github.com/johnbintz/rack-livereload Start live reload livereload ~/projects/project-name/app Add guard-livereload […]

Rails delegate

A model should only talk to it’s immediate association. According to law of demeter, you shouldn’t talk to the association’s property or association’s association. Here we talk about Rails delegate approach BAD SMELL class Profile < ActiveRecord::Base belongs_to :user end <%= @profile.user.address %> <%= @profile.user.city %> Rails provides helper method to acomplish delegation, which uses […]

Server firewall configuration

There are two ways to start thinking about your server firewall security. The hard way or the easy way. The easy way would be to start thinking before something bad has happened to your server, and now you can figure out what would be the hard way.. In order to get the security of your […]

Carrierwave upload multiple images

These are the steps to enable upload multiple images/files using carrierwave in rails 4+ from scratch. Similar procedure can be applied for nested forms. In gem file gem ‘carrierwave’ bundle install rails generate uploader Avatar Create post scaffold rails g scaffold title:string rails g scaffold post_attachment post_id:integer avatar:string rake db:migrate post.rb class Post < ActiveRecord::Base […]