alexspeller: oh and its just separated because theyre set at different times?
alexspeller
yes
cinnamon_bun
If I have a model that belongsTo two other models, what's the simplest way to create a new instance of that model and update it with associations?
right now I have a this.store.createRecord to create the new isntance, then I this.store.find() the two associated models, and push the newly created instance to each of them and then call .save()
finally I save the newly created instance
but this doesn't work
blu____
alexspeller: is there a proper way to debounce properties set in the controller and the setupcontroller?
Duckily: why not just make it an attribute of your DS.Model?
Duckily
locks: i’m not sure thats the best conceptually, because ember isn’t aware that the variable is based on a daterange
blu____
and you mentioned you normally don't use observers
thedeeno has quit
Duckily
the variable would be available in other places where employees are used
the other downside is we have reload all of the employee data when payperiod is changed when we really only need to update that variabl
thedeeno joined the channel
cinnamon_bun has quit
blu____
alexspeller: i see what my issue was. thanks for the help, i was looking in the wrong place
alexspeller: your tip to use properties (at least that's what i got out of it) helped
slik has quit
jpweeks has quit
amiel__ has quit
AmilKey joined the channel
jakemauer has quit
allcentury joined the channel
juanda joined the channel
AmilKey has quit
mrbubbles has quit
allcentury has quit
allcentury joined the channel
juanda has left the channel
cinnamon_bun joined the channel
allcentury has quit
ryanRT has quit
xxtjaxx joined the channel
kellysutton has quit
loremipson joined the channel
xxtjaxx has quit
jakemauer joined the channel
pixelhandler has quit
InezK is now known as InezK_away
awpeter is now known as awpeter-away
yaymukund joined the channel
yaymukund has quit
veinofstars has quit
KhoaPham has quit
taratatach joined the channel
dixon has quit
maxholder joined the channel
jonnn joined the channel
greldo joined the channel
andymocahey joined the channel
woodbeen has quit
annlewis joined the channel
s3shs joined the channel
annlewis has quit
lnmunhoz joined the channel
renekooi joined the channel
MartinElvar joined the channel
tomlane joined the channel
andymocahey has quit
cinnamon_bun
D:
unenglishable
:p
wangbus joined the channel
KevinT has quit
lnmunhoz has quit
renekooi has quit
goto-bus-stop joined the channel
digitalsadhu joined the channel
rpkilby has quit
MartinElvar has quit
pipework is now known as draughtpunk
InezK_away is now known as InezK
KhoaPham joined the channel
jakemauer has quit
KhoaPham has quit
loremipson joined the channel
dcherman joined the channel
oncenull joined the channel
kellysutton joined the channel
shinnya has quit
cinnamon_bun has quit
b1eedr has quit
Bomber_ joined the channel
benlieb has quit
blu____
can anyone explain what this._super.apply(this, arguments) does in setupcontroller?
i mean i know what it does, it calls it's super but what is that default behavior?
b1eedr joined the channel
KhoaPham joined the channel
KhoaPham has quit
xxtjaxx joined the channel
kellysutton has quit
kellysutton joined the channel
locks
blu____: ~who knows~
blu____
locks: source knows!
xxtjaxx has quit
dcherman2 joined the channel
emberjs-hubot has quit
emberjs-hubot joined the channel
unenglishable has quit
unenglishable joined the channel
wenincode
Hey guys I saw someone talking about observers/computed properties earlier today. Is the idea that observers should only be used for things that effect the state or saving etc. and CPs are for pretty much anything else.
I dont know if I worded that well
cinnamon_bun joined the channel
dixon joined the channel
thedeeno has quit
cinnamon_bun has quit
hilem_ has quit
hilem joined the channel
thedeeno joined the channel
digitalsadhu joined the channel
locks
wenincode: observers are for effecting side effects
wenincode
locks: I think I know what you mean. Is there anything 'bad' about observers