Retrieve adapter properties
@haldiggs wrote: I was wondering how to read adapter properties on a router? import DS from 'ember-data'; export default DS.RESTAdapter.extend({ host: document.getElementById("rootUrl").value,...
View ArticleObserve a property and do something with it before it changes?
@JordanRDesigns wrote: I had this thought with my app I'm building where I would like a bid amount to animate up when the bid is increased. Currently the way this works is either if the user increases...
View Article'data' as an attribute?
@haldiggs wrote: What if I have to use the name 'data' as an attribute? I am using the d3 tree-layout libary for svg https://github.com/mbostock/d3/wiki/Tree-Layout which uses a pretty specific json...
View ArticleUsing PromiseArrayMixin states VS route loading states
@kenips wrote: Hi all, I have a route that makes a query so I'm getting back a PromiseArray in my model hook. I would like to bypass the sync. wait. Just wondering which approach is now better:...
View ArticleHandlebars @last not supported?
@Hummingbird wrote: I was trying to handle some special logic for the last item in an array and was trying to therefore use the handlebars @last helper. However, it seems the @last helper is never...
View ArticleUpgrade to 2.1 and now 'Error while processing route:xxx Cannot read property...
@DTS10 wrote: All I did was update to Ember 2.1 and now I get the following error when loading: Error while processing route: landing-page Cannot read property 'extend' of undefined TypeError: Cannot...
View ArticleHow to optimise for Chrome Android
@Steffen wrote: Hi there, We are developing a hybrid app which includes to pages with ember apps. On iOS everything is fine, WKWebkit is really fast. On Android we are bundling the crosswalk browser...
View ArticleHow to hook Ember 2.2 template with a DS.Model data
@pillsw wrote: I have Ember 2.2 and Ember-Data 2.2.1. My application loads fine and I can see my DS.Model in the Ember Inspector show up with type 'appstatus'. I am having difficulty in understanding...
View ArticleModel's belongsTo promise doesn't seem to resolve
@mattberkowitz wrote: I have the following two models: models/profile.js import DS from 'ember-data'; export default DS.Model.extend({ firstName: DS.attr('string'), lastName: DS.attr('string') });...
View ArticleJSONAPIAdapter not recognized / "findAll is not a function"
@lizbaillie wrote: I've been searching high and low for a solution to this, hopefully someone here can help! Currently in my console I'm seeing this error: Screen Shot 2015-12-13 at 6.00.41...
View ArticleListening to all transition events
@Eddie.Sholl wrote: I've been looking for a way to catch all transition events, and haven't found anything so far. I was hoping there was some sort of infrastructure already in place that made it...
View ArticleCombine best of query and filter: dynamic updates from store
@Eddie.Sholl wrote: I'm trying to get data refreshed via websockets, using the store to receive the new incoming data. This works well, as it lets various observers be notified of the new data. It...
View ArticleIterate over a list, use index to fetch item from another list, pass in to...
@barneycarroll wrote: A component needs to be fed items at the same index from 2 associated arrays, list1 & list2. How can I access an item from an array at an interpolated index inside a...
View Article[resolved] Why does this call to Ember.run break in tests?
@Andrew_Max wrote: Ember.run.schedule("actions", this, function () { this.set('totalsChartComponent', undefined); }); Ember.run.next(this, function () { this.set('totalsChartComponent',...
View ArticleHow to pass a reference into an element inside a {{#each}} loop
@pepper wrote: Sorry, but I'm pretty new using Ember and I have this kind of dudu... check out this loop: my view.hbs {{#each tweet as |model|}} <div>{{tweet.text}}</div> <button...
View ArticleRendering a hasMany relation asynchronously
@fguillen wrote: Coming from a SO Question. I didn't find a solution there and the problem looks like a discussion more than like a one way solution, so this is because I'm moving the subject here....
View ArticleWhat is the proper way to load custom assets?
@erichuang310 wrote: Hello! I am new to Ember CLI and am having issues with loading custom generated assets. I would like to achieve the following with Rails and Ember: Changes made to Rails yml file...
View ArticleCannot add new object to hasMany?
@yaqwsx wrote: I am trying to add object to a hasMany realtionship. I tried this (selected variable contains id of achievement object to be added): var ach = this.get("store").find("achievement",...
View ArticleHow many components are too many?
@palmergs wrote: I'm building an app using Twitter Bootstrap. I've started to wrap similar structures as ember components that primarily simply represent Bootstrap HTML structure and CSS classes. For...
View ArticleDeploying on S3 and scaling
@JordanRDesigns wrote: I have a question regarding deploying my app to S3 and serving it straight from there. We have a platform that hosts events, so whenever we have events happening, they drive a...
View Article