by root | Apr 3, 2017 | Code quality, Design, Development, Ruby on Rails
Let’s start with a problem every Ruby on Rails developer faces, handling ‘nil’ value – a tedious task. NoMethodError: undefined method `[]’ for nil:NilClassy 4 spaces But there is a well-known design pattern to handle ‘nil’ value for Ruby in the more...
by root | Feb 21, 2017 | Ember.js, Frontend, Ruby on Rails
Assumptions: The frontend is Ember and backend is Express. NW (node-webkit) version is 0.20.1 (install using npm install -g nw@0.20.1) Node (node) version is 7.0.0 (install using nvm install v7.0.0 which internally download node-sass with file node-v51-linux-x64)...
by root | Feb 1, 2017 | Design, Development, Product, Ruby on Rails
For starters, Rails is a framework for Ruby and PHP is a language and has many frameworks. Both the PHP and Ruby ecosystem are very powerful, PHP has been on the market far before Ruby. While considering a language for your web application you review it on various...
by root | Oct 18, 2016 | Development, Ruby on Rails
Activity feed on any socializing platform shows the updates/news and as it says, activities of your friends and people whose activities you are authorized to view. Anything – a news feed, chat message, a connection request or a notification is an activity feed....
by root | Sep 30, 2016 | Code quality, Development, Process, Ruby on Rails
As per Wikipedia Static program analysis is the analysis of computer software that is performed without actually executing programs. In most cases, the analysis is performed on some version of the source code. WHY USE STATIC CODE ANALYSIS? Not every software developer...