Quantcast
Browsing all 4826 articles
Browse latest View live

Accessing Links in store.query() from response headers

@rifa wrote: Hi I am using JSONSerializer and I want acess Link header from the model response. how to do that? My Sample Response Header below: Access-Control-Allow-Orig... localhost:4200...

View Article


What happened to didInsertElement in the component API documentation?

@Chava wrote: What happened to the component lifecycle hooks in the API documentation? It is clearly referenced in the v2.4 guide, but not in the API docs....

View Article


DS.Store reference global access

@nagkumar wrote: Is it possible to have the reference of DS.Store globally rather than trying to have this through service injecting in each route etc... Some thing like global static...

View Article

Ember Performance Measurements/Metrics

@nagkumar wrote: Best way to start profiling of Ember Application, where to start, what to read, how to measure etc.. Any good books, URL's Posts: 1 Participants: 1 Read full topic

View Article

Ember get current route name

@hschillig wrote: So I'm trying to get the current route name (to make sure it doesn't equal a certain route to show this section of the layout).. Right now, I'm using something like this: import...

View Article


Previewing one ember app within another ember app

@Pali wrote: I am facing a conceptual problem. Let me describe what's going on: We have 2 Ember apps. One is a kind of CMS (the CMS app) and the second one is a mobile oriented presentation (the...

View Article

Call save on relation from within a record

@Bauke wrote: What I'm trying to do is call save on a belongsTo relation from within a record. Let's say I have a person with a name relation. I've added the next method to person model:...

View Article

Image may be NSFW.
Clik here to view.

Many to many relationship issues

@Samshel wrote: Hello, I have posts with categories. On post can have different categories and one category can belong to different posts. My models are as follow: post.js export default...

View Article


Error: ember.debug.js:16316 Uncaught Error: Assertion Failed:...

@Deepak_Negi_Sunny wrote: Dear Members, I am getting this error: ember.debug.js:16316 Uncaught Error: Assertion Failed: Ember.Object.create no longer supports defining methods that call _super. This...

View Article


Ember time picker component, which works in ember 1.10.0

@nagkumar wrote: is there a good bootstrap date time component which works on ember 1.10.0 This component is too good and simple, however it does not work in ember 1.10.0...

View Article

Ember-cli problems - Windows 10

@therealbenhogan wrote: Hi, I previously reported problems building the app and then making changes to it http://discuss.emberjs.com/t/ember-cli-suddenly-slowed-down-to-a-crawl/10117 I knew the...

View Article

Adding a new method to Ember.Array

@JordanRDesigns wrote: Is there a way I can somewhere in my code add a new method to the array prototype so that I can access that new method anywhere else in my code? I have a function I created in...

View Article

Contextual Helpers, Composable Helpers, or Helper Macros (!?)

@Spencer_Price wrote: Helpers are becoming more-and-more used in Ember templates and as far as I can tell, there is not a great way to compose helpers together. As Edward Faulkner put it, I think we...

View Article


When to use Service vs Initializer vs Util?

@IAmJulianAcosta wrote: Hi! I'm trying to determine the differences, advantages/disadvantages of services, initializers and utils? When should I use one or another? Thanks! Posts: 5 Participants: 3...

View Article

Image may be NSFW.
Clik here to view.

XMLHttpRequest cannot load https://api.instagram.com/v1/users

@dubbya wrote: I'm trying to hit an Instagram endpoint from my route... let https://api.instagram.com/v1/users... return Ember.$.getJSON(url).then((data) => { return data; }); When I hit this...

View Article


DS.InvalidError for relationships

@Ivan_Youroff wrote: I'm trying to create record with associated records in one request. In case if some of nested records have validation errors, I'd like to access appropriate errors on that record....

View Article

Storing image/binary data on model

@Eddie.Sholl wrote: We have a feedback form that allows a user to submit a support request or general app feedback. It is currently implemented with a model, and when the user hits submit, the model...

View Article


ETA "Implement dirty tracking and rollback of belongsTo relationships"

@Rick_Meertens wrote: Hi, Can somebody give me an ETA of the folllowing pull request? https://github.com/emberjs/data/pull/3698 Regards, Rick Posts: 1 Participants: 1 Read full topic

View Article

Passing data that doesn't fit into a model to a route

@paulbyrne wrote: I need some architectural advice. I am using the ember-cli-pickadate add-on in my application. It works well. As it can be initialized with an options object, I want to pass a JSON...

View Article

Pass param to controller function in a template

@fguillen wrote: I have a Controller with a method that is giving back the CountryName when it receives the CountryCode: // my Controller export default Ember.Controller.extend({ countryName:...

View Article
Browsing all 4826 articles
Browse latest View live