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

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