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 9251577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:44:13+00:00 2026-06-18T10:44:13+00:00

Hey y’all I’m having the weirdest issue in my ember code. (1.0-pre4) This seemingly

  • 0

Hey y’all I’m having the weirdest issue in my ember code. (1.0-pre4)

This seemingly innocuous code is not working at all as expected:

a = Ember.Controller.create({ 
        hello: function(){ 
            return "hello"; 
        }.property() 
    } )

when I do a.get("hello") , instead of returning hello, it returns a function!

Here is a dump:

i
_cacheable: true
_dependentKeys: Array[0]
func: function (){ return "hello"; }
__proto__: Ember.Descriptor

In handlebars templates it shows up as [object Object]

I’m not by any means a seasoned Ember programmer.. but I am pretty sure this used to work differently. Has something changed?

However, I have noticed that when I call a.hello.func() then that returns hello!

This definitely doesn’t make any sense. Could I be doing something wrong, or is there an issue with Ember??

Any help is appreciated. I know this question is similar to some others, but I have no other way to put down all my information in a cohesive fashion in the answers of the others.

Edit: I think I know what the issue is.. You can’t specify computed properties in the ‘create’ function. Will try ‘extend’ first and report back!

  • 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-18T10:44:15+00:00Added an answer on June 18, 2026 at 10:44 am

    As of ember 1.0.0-pre.3, you can no longer define computed properties via Object.create(). In most cases you should be using extend, but if you need the old behavior can use createWithMixins().

    See also:

    https://github.com/emberjs/ember.js/commit/c1c720781c976f69fd4014ea50a1fee652286048

    Ember.Object.create no longer supports defining methods that call _super

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

Sidebar

Related Questions

Hey all, I'm using this code to change my sIFR (version 3) H1 and
Hey guys this is my html code: <div class=nakupy> <li class=icn_kategorie><a href=#>Nákupy</a> <div class=sub_menu>
hey guys having this really simple problem but cant seem to figure out have
Hey all. I've been been trying to figure this out for a while now.
Hey all, just wondering what the best way to add this capability was. I
Hey there, Now im working this base on dmitko tutorial on extending django-registration post
Hey all- I have looked this up on here and Google but none of
Hey I have been looking all over the internet and this site for hours
Hey I'm having a problem trying to figure this out: Lets start out with
Hey guys I'm working with this forum, I want to hide the categories list,

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.