Hi People,
I have a couple issues with ember, which I’m loving so far.
version details:
DEBUG: -------------------------------
DEBUG: Ember : 1.6.0-beta.3+pre.2e4d67f6
DEBUG: Ember Data : 1.0.0-beta.7.f87cba88
DEBUG: Handlebars : 1.3.0
DEBUG: jQuery : 1.11.0
DEBUG: -------------------------------
-
Serialise of date time does not appear to be working i have some JSON like this:
{“statuses”:[{“id”:“402502d6-071d-469a-8aab- b468bf64fe39”,“body”:“FFFFFFFFFFF”,“emotion_ids”:,“created_at”:“Mon, 21 Apr 2014 01:59:15 +0000”,“updated_at”:“Mon, 21 Apr 2014 01:59:15 +0000”},{“id”:“a6351176-32cd-45e4-9bee-dfc3a9a68739”,“body”:“20.4.2014”,“emotion_ids”:,“created_at”:“Mon, 21 Apr 2014 01:58:35 +0000”,“updated_at”:“Mon, 21 Apr 2014 01:58:35 +0000”}]} But im just getting empty for the date fields.
On all of my statuses entities the created_date and the updated_date are blank.
-
When I visit this controller action:
App.StatusesCreateController = Em.ObjectController.extend(Ember.SimpleAuth.LoginControllerMixin, { actions: { create: function() { var controller = this; this.content.save(); this.transitionToRoute(‘statuses.index’) } } });
I notice a new empty record for status appears each time i visit the controller, any ideas why?
Thanks for the help! Maxus