Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9184737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:07:33+00:00 2026-06-17T19:07:33+00:00

Using: ember.js commit b2e82ae ember-data.js commit 001ba0c handlebars-1.0.rc.2.js This used to work already with

  • 0

Using:

  • ember.js commit b2e82ae
  • ember-data.js commit 001ba0c
  • handlebars-1.0.rc.2.js

This used to work already with the latest router API, but now breaks after upgrading to latest commit. This is also the first upgrade that tells me to use rc.2 for handlebars, that may be a hint.

The linkTo helper raises an error, when parsing the todo_items template: Uncaught TypeError: Cannot call method 'slice' of undefined.

# router
App.Router.map(function() {
 this.resource('todo_items', function() {
   this.route('todo_item', {
      path: '/:todo_item_id'
    });
  });
});

App.TodoItemsRoute = Ember.Route.extend({
  model: function() {
    return App.TodoItem.find();
  }
});

# todo_items.handlebars
<ul>
  {{#each item in content}}
  <li>
    {{#linkTo todo_items.todo_item item}}{{item.title}}{{/linkTo}}
  </li>
  {{/each}}
</ul>

It makes no difference when I wrap the first argument of linkTo in quotes: linkTo "todo_items.todo_item" item, the same error occurres.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:07:34+00:00Added an answer on June 17, 2026 at 7:07 pm

    I had a similar problem and it was caused by working from HEAD of ember.js. Switching to the official 1.0.0-pre.4 release solved it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using: Ember commit a5d45f66e1 from Jan 3, 2013) Ember-Data commit 508479dee7 from Jan 4,
I'm using Ember to retrieve JSON data from an API to insert into a
I'm using Ember built from git master. My RouteManager is not complex, but when
I'm building a table cell using two bound ember.js views on data. When I
Using ember data, I've run across an issue during serialization where computed properties are
Using the last version of ember-js and ember-data, I got an issue when deleting
We are using one of the later versions of Ember (router V2), not the
I'm trying to use the new Router API ( at commit 6a165ad ), and
I am building a project management app using ember.js-pre3 ember-data revision 11. How do
I am have difficulty setting a belongsTo relationship using ember data. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.