Ember.observer calling code module
@Deepak_Negi_Sunny wrote: Dear members, I m trying to debug a issue for which I have made observer on a property that is being changed by many segments of the project, but I am not able to trace the...
View ArticleRails and ember with acts-as-taggable-on. How to handle relationships in...
@ginolon wrote: I have a Rails 5 (or 4) application and I need a good tag system. First question: is acts-as-taggable-on still a good choice? This is my code: class User < ActiveRecord::Base...
View ArticleDynamically loading an Ember component
@pattisdr wrote: Is there a way to lazy-load individual Ember components in my application? I would like to exclude components from the original build and lazy-load them later as needed. I...
View ArticleFor feedback: Splash Screen for 'index.html' with Gist
@josiahbryan wrote: I've noticed that my Ember app (somewhat smallish-medium proprietary app) takes 1-5 seconds to boot from hitting the URL to the first UI elements on the screen. On mobile, this can...
View ArticleCustom History Causes `cannot GET /foo`
@josiahbryan wrote: TL;DR: Added custom location type to environment.js then ember serve -> open browser to route /foo -> cannot GET /foo Followed the instructions at...
View ArticleEmber CLI, Ember-Browserify, and Common JS dependencies
@bmurphy wrote: Hello everyone, I need some guidance on how to proceed with a build issue in my project. I've got a dependency not getting transpiled to ES5 when I build. The particular situation is...
View ArticleHow are URLs encoded in Ember?
@boris wrote: Using Ember 2.13.2. If I have the following route: this.route('foobar', { path: '/:id' }); And in routes/foobar.js I have: model (params) { console.log(params); } When I hit /[@: I will...
View ArticleEvents vs Services vs computed properties
@GELight wrote: Hi all, I like to use components very much. But normally it is not possible to can communicate between 2 or more components.For example what I imagineIf you have a typicle IDE there...
View ArticleBest practice for components
@milk242 wrote: Hello all, I'm trying to figure out what the best practice is for creating a form component. First, I can create a component and put the form element in the template or I can change...
View ArticleEmber-data - block data caching
@dizip wrote: Hi, i'd like to use Ember-data in my project, but my project has additional library, which communicate with backend and cache data. I know that i can force refresh in ember-data and...
View ArticleConflict with action and events in component
@Charles_Bourasseau wrote: I think there is a an issue between template actions and event in components. As far as I understand all action clicks will be first executed and bubbled. Then events in...
View ArticleSubdomain Multi-tenant App
@epetkus wrote: Hi there. Currently I am running a fairly complicated SaaS (Rails only) project and is due to upgrade to something bigger on front-end (+ API access) and since I have some experience...
View ArticleNeed help modeling relationships
@mrszmoline wrote: Currently we have models for a user, app and page. app.js export default DS.Model.extend({ title: attr(), pages: hasMany('page') }); user.js export default DS.Model.extend({...
View ArticleAutomatic testing with new Firefox healess mode
@woprandi wrote: Hi, Starting with 55 (current Nightly), Firefox get a new headless mode (https://bugzilla.mozilla.org/show_bug.cgi?id=1338004). I wanted to test it with my ember app without success $...
View ArticleMultiple layouts in Ember 2
@okachynskyy wrote: I need implement next application structure with 3 routes: localhost/users localhost/posts localhost/settings 'users' and 'posts' routes should have basic layout1 with main...
View ArticleNested routes don't appear to update model
@GrandSlam90 wrote: I have a nested route which doesn't seem to want to update when I save a new record to the model. If I visit my colleagues/colleague/{id}/vacation route I get a list of models...
View ArticleHow to serialize all keys of object before send request when using ember-ajax
@Marcelo_Alves wrote: Hi! I'm using ember-ajax to send data to endpoint that are not rest, like /users/confirm-email, /users/reset-password, etc, example: const attributes =...
View ArticleRefresh model every 1min
@dizip wrote: Hi,I am looking for solution how to refresh model every 1 min in app. That is the problem becouse i never know on which route i am and i cant reset my timer. I found one sollution to set...
View ArticleBest practice to sort a list
@Charles_Bourasseau wrote: Is there a trick to get a list sorted without rendering the whole list each time? When you have a list of items and you sort them not by name but by date. Every row will be...
View ArticleCheck if a ember object exists on the clients browser?
@BCapitalized wrote: Say there exists some express and emberjs website 'www.example.com'. The backend is a data centric api with a single route to serve static files (emberjs application). if a client...
View Article