# Learning Team

**URL:** https://discuss.emberjs.com/c/learning/15.md

[Latest](https://discuss.emberjs.com/latest.md) · [Categories](https://discuss.emberjs.com/categories.md)

---

## [About the Learning Team category](https://discuss.emberjs.com/t/about-the-learning-team-category/10721)

<div class="topic-metadata">

**Author:** [@tomdale](https://discuss.emberjs.com/u/tomdale)\
**Replies:** 0

</div>

(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters. Until you edit this description or create top…

---

## [Ember and Phoenix](https://discuss.emberjs.com/t/ember-and-phoenix/20573)

<div class="topic-metadata">

**Author:** [@talhamughal511](https://discuss.emberjs.com/u/talhamughal511)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 3:20pm UTC](https://discuss.emberjs.com/t/ember-and-phoenix/20573 "2024-07-11T15:20:44Z")

</div>

I am an Elixir Developer and i am new to Ember js. I want a tutorial or article that i can utilize to get started on this. If you can point to anything that will point me to the right direction, I will be grateful. Thank…

---

## [I am little combersome about main route template along with index.hbs](https://discuss.emberjs.com/t/i-am-little-combersome-about-main-route-template-along-with-index-hbs/20563)

<div class="topic-metadata">

**Author:** [@Gowtham](https://discuss.emberjs.com/u/Gowtham)\
**Replies:** 8\
**Last updated:** [July 8, 2024, 6:19pm UTC](https://discuss.emberjs.com/t/i-am-little-combersome-about-main-route-template-along-with-index-hbs/20563 "2024-07-08T18:19:08Z")

</div>

---

## [Will Ember Inspector work on localhost?](https://discuss.emberjs.com/t/will-ember-inspector-work-on-localhost/20376)

<div class="topic-metadata">

**Author:** [@hess8](https://discuss.emberjs.com/u/hess8)\
**Replies:** 5\
**Last updated:** [January 19, 2024, 9:33pm UTC](https://discuss.emberjs.com/t/will-ember-inspector-work-on-localhost/20376 "2024-01-19T21:33:22Z")

</div>

I see this reason for “Ember application not detected!”: “\* You are using the file:// protocol (instead of http://)” Does that apply to localhost:// as well?

---

## [Model returns a proxy array](https://discuss.emberjs.com/t/model-returns-a-proxy-array/20344)

<div class="topic-metadata">

**Author:** [@nolo](https://discuss.emberjs.com/u/nolo)\
**Replies:** 5\
**Last updated:** [December 7, 2023, 5:24pm UTC](https://discuss.emberjs.com/t/model-returns-a-proxy-array/20344 "2023-12-07T17:24:38Z")

</div>

I’m following the Full Stack Ember with Rails tutorial from embercasts.com. I know it’s pretty old, but it’s also really well crafted as a class. So I follow the tutorial while using ember-cli 5.4 to build the app. This …

---

## [Tutorial needs authentication included, in version 5, or other authentication working example](https://discuss.emberjs.com/t/tutorial-needs-authentication-included-in-version-5-or-other-authentication-working-example/20325)

<div class="topic-metadata">

**Author:** [@hess8](https://discuss.emberjs.com/u/hess8)\
**Replies:** 8\
**Last updated:** [December 1, 2023, 6:05pm UTC](https://discuss.emberjs.com/t/tutorial-needs-authentication-included-in-version-5-or-other-authentication-working-example/20325 "2023-12-01T18:05:41Z")

</div>

All the example apps with authentication I can find are stuck in version 3, and have so many problems trying to get them to work in v5. If you want new people to stick with Ember and use modern versions, this seems lik…

---

## [Looping Through Lists - First and Last](https://discuss.emberjs.com/t/looping-through-lists-first-and-last/20248)

<div class="topic-metadata">

**Author:** [@rgaiacs](https://discuss.emberjs.com/u/rgaiacs)\
**Replies:** 4\
**Last updated:** [October 1, 2023, 6:23am UTC](https://discuss.emberjs.com/t/looping-through-lists-first-and-last/20248 "2023-10-01T06:23:41Z")

</div>

I’m aware of the Looping Through Lists in the documentation but it does not cover how to handle the first and last element in the list if they need special treatment. Problem description Given a list like \['apple', 'b…

---

## [Promises: Ember.RSVP is not a constructor](https://discuss.emberjs.com/t/promises-ember-rsvp-is-not-a-constructor/18505)

<div class="topic-metadata">

**Author:** [@cgallo](https://discuss.emberjs.com/u/cgallo)\
**Replies:** 7\
**Last updated:** [February 22, 2022, 3:22pm UTC](https://discuss.emberjs.com/t/promises-ember-rsvp-is-not-a-constructor/18505 "2022-02-22T15:22:33Z")

</div>

I am experimenting with Promises and trying to adapt a javascript Promise example I found to Ember. I’m getting this error in the console. developer-sandbox.js:34 Uncaught TypeError: Ember.RSVP is not a constructor at …

---

## [How to build a website - with prebuilt html templates?](https://discuss.emberjs.com/t/how-to-build-a-website-with-prebuilt-html-templates/19383)

<div class="topic-metadata">

**Author:** [@surenk](https://discuss.emberjs.com/u/surenk)\
**Replies:** 5\
**Last updated:** [January 28, 2022, 6:46am UTC](https://discuss.emberjs.com/t/how-to-build-a-website-with-prebuilt-html-templates/19383 "2022-01-28T06:46:17Z")

</div>

I am learning Emberjs (coming from Angular ), how do I start building a website if I already have a HTML template (pick from https://html5up.net)? What is the process? I could not find any article on this process. Is it…

---

## [Make clicked button look active, other buttons should look inactive](https://discuss.emberjs.com/t/make-clicked-button-look-active-other-buttons-should-look-inactive/12385)

<div class="topic-metadata">

**Author:** [@ousikaa](https://discuss.emberjs.com/u/ousikaa)\
**Replies:** 3\
**Last updated:** [October 15, 2021, 6:13pm UTC](https://discuss.emberjs.com/t/make-clicked-button-look-active-other-buttons-should-look-inactive/12385 "2021-10-15T18:13:32Z")

</div>

Hi everyone, So I have a group of buttons and each button is its own component. When I click on a button component, I set its ‘isActive’ property to true, which will add a class to distinguish it from unclicked button c…

---

## [On learning materials and current gaps](https://discuss.emberjs.com/t/on-learning-materials-and-current-gaps/18629)

<div class="topic-metadata">

**Author:** [@chriskrycho](https://discuss.emberjs.com/u/chriskrycho)\
**Replies:** 7\
**Last updated:** [March 22, 2021, 1:03pm UTC](https://discuss.emberjs.com/t/on-learning-materials-and-current-gaps/18629 "2021-03-22T13:03:46Z")

</div>

Over in Adding a delete row button from a Table, we started discussing the balance of materials in the guides. I was thinking about this point by @dknutsen in particular: I’ve been talking about exactly this for a whil…

---

## [Best Practices - Coalescing app configs and addon configs](https://discuss.emberjs.com/t/best-practices-coalescing-app-configs-and-addon-configs/18591)

<div class="topic-metadata">

**Author:** [@vedosis](https://discuss.emberjs.com/u/vedosis)\
**Replies:** 6\
**Last updated:** [February 10, 2021, 8:40pm UTC](https://discuss.emberjs.com/t/best-practices-coalescing-app-configs-and-addon-configs/18591 "2021-02-10T20:40:26Z")

</div>

I’m building an addon that’s mostly UI blocks. From the dummy app, I’ve validated “everything works.” Within the dummy app, I want to show different layout options (css styles for minifiedNav or fullWidthContainer vs fi…

---

## [How to create a util](https://discuss.emberjs.com/t/how-to-create-a-util/18582)

<div class="topic-metadata">

**Author:** [@cgallo](https://discuss.emberjs.com/u/cgallo)\
**Replies:** 3\
**Last updated:** [February 4, 2021, 4:07pm UTC](https://discuss.emberjs.com/t/how-to-create-a-util/18582 "2021-02-04T16:07:16Z")

</div>

Hi, I have created a function in utils using “ember g util is-monthend”. Here is the function: export default function isMonthend() { let today = new Date(); let month = today.getMonth(); today.setDate(today.getDate() …

---

## [Show or Hiding content based on current Route](https://discuss.emberjs.com/t/show-or-hiding-content-based-on-current-route/18567)

<div class="topic-metadata">

**Author:** [@starraven](https://discuss.emberjs.com/u/starraven)\
**Replies:** 3\
**Last updated:** [February 3, 2021, 10:48pm UTC](https://discuss.emberjs.com/t/show-or-hiding-content-based-on-current-route/18567 "2021-02-03T22:48:05Z")

</div>

Hello Everyone!, I want to use a conditional like {{#if}} to hide a button element if I’m viewing a certain page. I wanted to know how to check if you’re on a particular route inside of an {{#if}} to hide or show an el…

---

## [Is it possible to use two adapters in one project?](https://discuss.emberjs.com/t/is-it-possible-to-use-two-adapters-in-one-project/18501)

<div class="topic-metadata">

**Author:** [@geert](https://discuss.emberjs.com/u/geert)\
**Replies:** 5\
**Last updated:** [January 14, 2021, 3:41pm UTC](https://discuss.emberjs.com/t/is-it-possible-to-use-two-adapters-in-one-project/18501 "2021-01-14T15:41:24Z")

</div>

Is it possible to include two different adapters inside a project? One should be the default ApplicationAdapter extending JsonApiAdapter And one is for example the SpecialAdapter for REST API calls that are not conform t…

---

## [Authentication auth0 in Ember](https://discuss.emberjs.com/t/authentication-auth0-in-ember/18492)

<div class="topic-metadata">

**Author:** [@geert](https://discuss.emberjs.com/u/geert)\
**Replies:** 3\
**Last updated:** [January 12, 2021, 1:16pm UTC](https://discuss.emberjs.com/t/authentication-auth0-in-ember/18492 "2021-01-12T13:16:08Z")

</div>

Besides some “old” articles with older versions (pre-octane) of Ember to authenticate with auth0 I am stuck. I tried to “upgrade” it with the Octane cheat sheet but no luck. Does somebody have an example to authenticate…

---

## [Looking for an example of a grid and form](https://discuss.emberjs.com/t/looking-for-an-example-of-a-grid-and-form/18490)

<div class="topic-metadata">

**Author:** [@geert](https://discuss.emberjs.com/u/geert)\
**Replies:** 4\
**Last updated:** [January 10, 2021, 7:11pm UTC](https://discuss.emberjs.com/t/looking-for-an-example-of-a-grid-and-form/18490 "2021-01-10T19:11:48Z")

</div>

I want to transfer a React app to Ember app (Line-of-business application). The documentation/guidelines are great but I am missing an example on how to create a grid/table with Ember Data and creating a CRUD form with E…

---

## [Readers' Questions: "What is Embroider?"](https://discuss.emberjs.com/t/readers-questions-what-is-embroider/16722)

<div class="topic-metadata">

**Author:** [@jessica](https://discuss.emberjs.com/u/jessica)\
**Replies:** 1\
**Last updated:** [November 15, 2020, 11:47pm UTC](https://discuss.emberjs.com/t/readers-questions-what-is-embroider/16722 "2020-11-15T23:47:56Z")

</div>

Hello once again to Readers’ Questions, presented by the folks at The Ember Times :newspaper:with a little help from the Ember Core Team and friends :sparkles: Today I’ll be answering a question by jj: What is Embroi…

---

## [Synchronising query parameters with a component](https://discuss.emberjs.com/t/synchronising-query-parameters-with-a-component/18084)

<div class="topic-metadata">

**Author:** [@djodonnell](https://discuss.emberjs.com/u/djodonnell)\
**Replies:** 4\
**Last updated:** [August 3, 2020, 1:39am UTC](https://discuss.emberjs.com/t/synchronising-query-parameters-with-a-component/18084 "2020-08-03T01:39:21Z")

</div>

Hi, I’ve built an input search component that I’m pretty happy with. The component contains an html input element, and performs a JSON API style search using the text value in the input. I’m currently using Mirage as …

---

## [Use app/tmp-index.html from instead of app/index.html for build generation based on environment variable](https://discuss.emberjs.com/t/use-app-tmp-index-html-from-instead-of-app-index-html-for-build-generation-based-on-environment-variable/18015)

<div class="topic-metadata">

**Author:** [@sarath\_s](https://discuss.emberjs.com/u/sarath_s)\
**Replies:** 1\
**Last updated:** [July 23, 2020, 10:11am UTC](https://discuss.emberjs.com/t/use-app-tmp-index-html-from-instead-of-app-index-html-for-build-generation-based-on-environment-variable/18015 "2020-07-23T10:11:45Z")

</div>

I am using ember version 3.4.0. My need is to generate the build index.html file based on the environment variable type. Eg., I have a ENV variable as isDemo If isDemo is true =\> build should generated based on the p…

---

## [Readers' Questions: "How can I become a writer for The Ember Times in the future?"](https://discuss.emberjs.com/t/readers-questions-how-can-i-become-a-writer-for-the-ember-times-in-the-future/18006)

<div class="topic-metadata">

**Author:** [@ijlee2](https://discuss.emberjs.com/u/ijlee2)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 2:35pm UTC](https://discuss.emberjs.com/t/readers-questions-how-can-i-become-a-writer-for-the-ember-times-in-the-future/18006 "2020-06-26T14:35:47Z")

</div>

Hi, everyone. It has been some time since we, at The Ember Times, got to answer a question from you. We hope that you have been doing well and finding our newsletters helpful amidst difficult times. Before I help answer…

---

## [Why should I not use observers in my ember application?](https://discuss.emberjs.com/t/why-should-i-not-use-observers-in-my-ember-application/16868)

<div class="topic-metadata">

**Author:** [@efx](https://discuss.emberjs.com/u/efx)\
**Replies:** 6\
**Last updated:** [October 8, 2019, 6:40pm UTC](https://discuss.emberjs.com/t/why-should-i-not-use-observers-in-my-ember-application/16868 "2019-10-08T18:40:28Z")

</div>

The guides have a whole page on observers but caveat their use: Note: Observers are often over-used by new Ember developers. Observers are used heavily within the Ember framework itself, but for most problems Ember app…

---

## [Super Rentals 3.17 Tutorial - Chapter 9 - Route with Dynamic Segment issue](https://discuss.emberjs.com/t/super-rentals-3-17-tutorial-chapter-9-route-with-dynamic-segment-issue/17811)

<div class="topic-metadata">

**Author:** [@djodonnell](https://discuss.emberjs.com/u/djodonnell)\
**Replies:** 3\
**Last updated:** [April 29, 2020, 2:40pm UTC](https://discuss.emberjs.com/t/super-rentals-3-17-tutorial-chapter-9-route-with-dynamic-segment-issue/17811 "2020-04-29T14:40:18Z")

</div>

Hi All, I’ve just been making my way through the Super Rentals tutorial (updated to v3.17) and I’m having an issue with dynamic segments in one of the routes. Essentially the application runs fine, and I’m presented wi…

---

## [Readers' Questions: "What is meant by the term 'Data down, actions up'?"](https://discuss.emberjs.com/t/readers-questions-what-is-meant-by-the-term-data-down-actions-up/15311)

<div class="topic-metadata">

**Author:** [@jessica](https://discuss.emberjs.com/u/jessica)\
**Replies:** 3\
**Last updated:** [April 3, 2020, 10:49am UTC](https://discuss.emberjs.com/t/readers-questions-what-is-meant-by-the-term-data-down-actions-up/15311 "2020-04-03T10:49:11Z")

</div>

Hello once again to Readers’ Questions, presented by the folks at The Ember Times :newspaper::slightly\_smiling\_face: Today I’ll be answering a question by Daniel who is interested to know more about a particular Ember c…

---

## [Simple Auth redirect](https://discuss.emberjs.com/t/simple-auth-redirect/12363)

<div class="topic-metadata">

**Author:** [@ShadowKnight95](https://discuss.emberjs.com/u/ShadowKnight95)\
**Replies:** 6\
**Last updated:** [March 24, 2020, 11:47pm UTC](https://discuss.emberjs.com/t/simple-auth-redirect/12363 "2020-03-24T23:47:28Z")

</div>

Hey so I have simple auth and I want my index page to be only for users that are logged in and instead of redirecting them to the login page I want them to be redirected to my welcome page. All other pages that they are …

---

## [How to upload a file or photo to an API](https://discuss.emberjs.com/t/how-to-upload-a-file-or-photo-to-an-api/17554)

<div class="topic-metadata">

**Author:** [@Rossi\_Rasloff](https://discuss.emberjs.com/u/Rossi_Rasloff)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 9:11am UTC](https://discuss.emberjs.com/t/how-to-upload-a-file-or-photo-to-an-api/17554 "2020-02-25T09:11:46Z")

</div>

hello, i have created the model, route, controller, component and template … everything is working. only that file / image thing isn’t working. i have search for tutorials but didn’t find any. the documentation of embe…

---

## [HOWTO call \`findBelongsTo\` on the JSONAPIAdapter via Store?](https://discuss.emberjs.com/t/howto-call-findbelongsto-on-the-jsonapiadapter-via-store/13698)

<div class="topic-metadata">

**Author:** [@johnnyicon](https://discuss.emberjs.com/u/johnnyicon)\
**Replies:** 10\
**Last updated:** [February 4, 2020, 8:21pm UTC](https://discuss.emberjs.com/t/howto-call-findbelongsto-on-the-jsonapiadapter-via-store/13698 "2020-02-04T20:21:08Z")

</div>

Does anyone have any practical examples of how to call the #findBelongsTo method on the JSONAPIAdapter? To give some context, I have a house model which has one (1) master-bedroom. In my master-bedroom model, I have de…

---

## [Writers Wanted: Countdown to the New Year Blog Series](https://discuss.emberjs.com/t/writers-wanted-countdown-to-the-new-year-blog-series/17273)

<div class="topic-metadata">

**Author:** [@jessica](https://discuss.emberjs.com/u/jessica)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 4:32pm UTC](https://discuss.emberjs.com/t/writers-wanted-countdown-to-the-new-year-blog-series/17273 "2019-12-19T16:32:41Z")

</div>

Hey folks, we are still looking for writers for the Countdown to the New Year blog post series presenting another Ember addon every day :sparkles: Check it out on the Ember blog: Interested contributors only need firs…

---

## [Silly query params question](https://discuss.emberjs.com/t/silly-query-params-question/17335)

<div class="topic-metadata">

**Author:** [@efx](https://discuss.emberjs.com/u/efx)\
**Replies:** 1\
**Last updated:** [December 18, 2019, 4:24pm UTC](https://discuss.emberjs.com/t/silly-query-params-question/17335 "2019-12-18T16:24:18Z")

</div>

I have a handful of routes that use the same controller in my application. They use a few sticky query parameters so users can conveniently load some state in the app. Yay URLs! I also have \<LinkTo\> in route template. M…

---

## [Readers' Questions: "Are there plans to improve the experience for using Data Down, Actions Up in the future?"](https://discuss.emberjs.com/t/readers-questions-are-there-plans-to-improve-the-experience-for-using-data-down-actions-up-in-the-future/17239)

<div class="topic-metadata">

**Author:** [@jessica](https://discuss.emberjs.com/u/jessica)\
**Replies:** 5\
**Last updated:** [December 15, 2019, 10:49am UTC](https://discuss.emberjs.com/t/readers-questions-are-there-plans-to-improve-the-experience-for-using-data-down-actions-up-in-the-future/17239 "2019-12-15T10:49:55Z")

</div>

Hello everyone and welcome back to another edition of Readers’ Questions presented by the folks from The Ember Times :sparkling\_heart: ! This week I’m going to answer the following question by @erikrothoff (1): It’s re…

[Next page](https://discuss.emberjs.com/c/learning/15.md?page=1)
