INDIA +91 964 309 2571 | USA +1 650 405 4891 info@navyuginfo.com

“Maybe” Monad for Ruby

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...

PHP vs 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...

Managing Activity Feeds in Ruby

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....