INDIA +91 964 309 2571 | USA +1669 327 4700 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...