Tag Archives: ember.js

Don’t let Ember.js swallow errors in your promises

Update: 25/07/2013 : The solution described below does not work with RC6 .. You will need to get ember-latest. Are you finding that errors occurring in your promise handlers are being swallowed silently by Ember.js ? I had written some … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 8 Comments

Determining the current path in Ember.js

Do you want to know the current path in your Ember.js app? This was asked on Stack Overflow recently and I thought it was a neat trick. Now you can access your current path from anywhere with:

Posted in Uncategorized | Tagged , , | Leave a comment

Getting started with integration testing ember.js using ember-testing and qunit-rails

Ember-testing is a recent addition to the Ember.js framework that allows you to create integration tests for your app using a custom DSL for interacting with your async Ember.js app. We’re going to walk through how to write integration tests … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 8 Comments

Filtering a set of objects for display in Ember.js

A pretty standard use case in web development in to display a list of objects filtered by some kind of criteria. This is really easy to do in Ember.js using the filterProperty function from the Ember.Enumerable mixin, which is mixed … Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

Ensure your Ember templates get the correct name when pre-compiling in the Rake pipeline using Barber

I’ve been using Rake Pipeline as the build tool of choice for my Ember Phonegap Starter kit and making use of the Barber gem to pre-compile my Ember templates. Today I ran into a problem where my templates were being compiled but they … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Getting google maps to work in a PhoneGap app on iOS

The Google maps guides should be enough to enable you to get a PhoneGap up and running with a Google Map however there are two gotchas that you should be aware of: 1) The div that hosts your map needs … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Configuring Ember-Data to sideload relationships

When you first start using Ember-Data its pretty nifty to see your application making JSON requests to create/read/update your entities but at some point you might want to cut down on the number of requests that your Ember app is … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Ember.js commit starlog

I’ve been heavily inspired by Ember.js recently, so I was thrilled to see that you can catch up on the Ember.js github commits in a unique format inspired by Star wars. Ember.js commit starlog

Posted in Uncategorized | Tagged , | Leave a comment