Given a model called Post, I would like to know what’s the difference, advantages and disadvantages of using either:
Post.FIXTURES = [
...
];
or
Post.reopenClass({
FIXTURES: [
...
]
});
Given a model called Post, I would like to know what’s the difference, advantages and disadvantages of using either:
Post.FIXTURES = [
...
];
or
Post.reopenClass({
FIXTURES: [
...
]
});
When model injection is enabled you have to use reopenClass.
Never realized this. Good one, thanks.