Questions tagged [emberfire]

EmberFire is the officially supported Ember JS adapter for Firebase with Ember-Data.

EmberFire is intended to make it easy to build Firebase-powered Ember applications.

152 questions
0
votes
1 answer

Ember.js authentication action not working

This is my first time using ember.js. I'm trying to use a controller to execute an action when a user is successfully signed in (authenticated). However, my current method of saving the user's state or even changing a property…
xxyyzz
  • 127
  • 9
0
votes
1 answer

Saving Ember-Data records

Questions: This line of code _activeAuthor.get('books').pushObject(book).save(); is processed without error in Chrome but the book is not added to the books property of the _activeAuthor instance of Ember-Data. I don't understand why? The below…
Samuel Segal
  • 423
  • 1
  • 7
  • 18
0
votes
1 answer

Firebase custom unique ID

In my EmberFire app the URL looks like this: http://example.com/friends/-Jaxji0depwt4PE8KnFG Is there a way to customize the unique ID in Firebase to look like…
Anil S
  • 143
  • 1
  • 3
  • 9
0
votes
2 answers

How to access a model from another controller in Ember

This is a novice question: I'm creating a new Chapter record in the Store (Ember-data). I want to add the Chapter ID to the User.chapters property of the User Model record. App.Book = DS.Model.extend({ name: DS.attr('string'), icon:…
Samuel Segal
  • 423
  • 1
  • 7
  • 18
0
votes
1 answer

Async records not automatically being fetched

I am trying to display some CI information via an ember application backed by Firebase. If I do a this.store.find('plan'); it fetches and displays the plans for the desired project, but it doesn't automatically async fetch the plans like I want. I…
RyanHirsch
  • 1,847
  • 1
  • 22
  • 37
0
votes
1 answer

Dynamic adapter pathForType based on auth id

Is there any way to include a user's authentication uid in a model adapter's path? For example, suppose you have a chat application, and a conversation model to represent a private message session between two users, where the data is stored…
Bill Dami
  • 3,205
  • 5
  • 51
  • 70
0
votes
1 answer

Ember template doesn't update after saving model with EmberFire adapter for Firebase

I'm using Firebase as the backend for my Ember app and successfully hooked up Firebase with EmberFire. However, when I try to save my models after creating a record, while they are posted to Firebase, they are not updated in the client's ember…
mmwebster
  • 152
  • 10
0
votes
1 answer

How do I delete a post from Firebase using emberfire

I'm new to Ember.js and Firebase and I've managed to add a post and display it onto the screen but I'm stuck on being able to delete it, will anyone be able to help me? //////////////////////////////////////////////////////////// // CONTROLLER …
0
votes
0 answers

How to create blank firebase references

Lets say I have a firebase and I want to add Book and Chapter objects to the root node to look like this. example: { books: { book_id: {//book object} } chapters: { chapter_id: {//chapter object} } } The specific problem I am having…
Jacob Juby
  • 33
  • 3
0
votes
1 answer

Error while loading route: undefined while using EmberJS with Firebase (emberFire)

I recreated the TodoMVC using EmberJS and after I was finished, I tried to change the ApplicationAdapter to FirebaseAdapter. But then the application stopped working and I am getting this error: Error while loading route: undefined Here are the…
Mirko Akov
  • 2,357
  • 19
  • 19
0
votes
1 answer

Ember.js - Removing data from Firebase with EmberFire

I'm using EmberFire to connect my DB with my wee Ember.js app. When I call destroyRecord() I get this error: Uncaught TypeError: Cannot read property 'replace' of undefined Any ideas? Here is my code: App.MainUsersController =…
JDillon522
  • 19,046
  • 15
  • 47
  • 81
0
votes
1 answer

Ember.js update model when view changed?

New to ember here and I thought if you bind the data between view and model then both side will sync up if one changed. Currently I have my model setup with Emberfire which returns an array of colors: App.ApplicationRoute = Ember.Route.extend({ …
Poyi
  • 910
  • 2
  • 10
  • 22
0
votes
1 answer

Get model property from Ember view

I have my Route setup with models from FireBase: App.ApplicationRoute = Ember.Route.extend({ model: function() { return EmberFire.Array.create({ ref: new Firebase("https://some-database.firebaseio.com/shape") }); }, …
Poyi
  • 910
  • 2
  • 10
  • 22
0
votes
1 answer

Ember.js with EmberFire Object - How to use with array attributes?

I read a lot of, still can't solve by myself. I've an Ember Route, with az EmberFire model. App.NewRoute = Ember.Route.extend({ model: function() { return EmberFire.Object.create({ ref: window.ref }); }, setupController:…
0
votes
2 answers

Implement Routing With EmberFire?

However I find myself still unclear on the prospect of getting some of the functionality as Model. Right now I'm trying to utilize the new emberFire library, which provides some base Object types for interacting with the Firebase service. I'm able…
Eric Johnson
  • 111
  • 6
1 2 3
10
11