Commit Graph

9 Commits

Author SHA1 Message Date
gunjpan e244153eb7 Update tests to use registry for model creation
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In LB 3.0, this is
not supported anymore. This backporting:
- keeps the sugar method for model creation  for backward
compatibility
- updates test cases to use `app.registry.createModel()`
for model creation

Backport of #2401
2016-09-27 16:44:01 -04:00
Candy 3767940472 Backport of #2407 2016-08-05 11:55:32 -04:00
Ryan Graham 4d6f2e7ab7
update/insert copyright notices 2016-05-03 17:10:46 -07:00
wfgomes e8cb132ed6 Fixing the model attach 2014-11-17 00:00:54 -03:00
Raymond Feng 2f773115fe rename asteroid to loopback 2013-07-16 11:02:06 -07:00
cgole 95050f43e3 port number in console log was incorrect in example app 2013-06-04 13:35:41 -07:00
Ritchie Martori d7df71c686 Add hasMany to defined models 2013-05-24 15:09:13 -07:00
Ritchie 787a6bcf43 Integrate remoting and jugglingdb fork 2013-05-24 07:59:23 -07:00
Ritchie Martori 6b007fc9e7 Initial model refactor 2013-05-01 12:11:43 -07:00