Detecting Window Closing in Ember

| Comments

In a long-running app such as you might build in Ember, it can be useful to detect when the window is closing. This is easily detected with JavaScript, and there are easy places to put the code in your Ember app.

Ember beforeunload

Ng-Conf Review

| Comments

Ng-Conf just happened last week in Salt Lake City, Utah. It was awesome. Oh blast, I blew the punch line. Anyway, here’s my take.


Permit Array in Rails Strong Parameters

| Comments

Rails 4 introduced the pattern of strong parameters at the controller layer. As a best practice, you will explicitly list the parameters that an endpoint should accept in payloads. Arrays are specified just slightly different.