INDIA +91 882 616 7094 | USA +1 949 299 0280 | GERMANY +49 176 3465 1507 info@navyuginfo.com

How record save happens in Ember?

In Ember when you call destroyRecord on model. In the network layer Rest Api Method delete is invoked and your model’s id is passed in your params, I believe everyone knows this stuff. Let’s dig deeper, what happens after you call the object method destroy...

“Maybe” Monad for Ruby

Lets start with a problem every Ruby on Rails developer faces, handling ‘nil’ value – 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 robust way....

CSS Sprite Images benefits

In almost all the web application, we use many icons to make our pages look elegant. This might be good for the UI/UX but it has a huge implication on the network performance. Consider a page which shows 45 various services provided by an organisation. There will be...