Rand McKinney
|
ec93fed2ed
|
Update docs.json
Add subtitles for model and type objects.
|
2013-11-19 17:51:05 -08:00 |
Rand McKinney
|
95700a526a
|
Update docs.json
Remove non-API docs.
|
2013-11-19 17:38:50 -08:00 |
Raymond Feng
|
b284beabd8
|
Merge tag 'v1.2.3'
v1.2.3
|
2013-11-19 11:02:33 -08:00 |
Raymond Feng
|
ed8aa854c5
|
Merge branch 'release/1.2.3' into production
|
2013-11-19 11:02:15 -08:00 |
Raymond Feng
|
1818be1667
|
Bump the version
|
2013-11-19 10:58:13 -08:00 |
Raymond Feng
|
a53eac5307
|
Merge pull request #42 from strongloop/feature/fix-ds-attach
Fix the model attachment to data source
|
2013-11-19 10:56:55 -08:00 |
Raymond Feng
|
303be5882b
|
Merge pull request #41 from strongloop/feature/rename-all-to-find
Replace all with find to make it consistent
|
2013-11-19 10:50:26 -08:00 |
Raymond Feng
|
2bcdea76f5
|
Fix the model attachment to data source
|
2013-11-19 10:49:54 -08:00 |
Raymond Feng
|
05eae4aa3e
|
Replace all with find to make it consistent
|
2013-11-18 11:39:07 -08:00 |
Ritchie Martori
|
6eb7f1939c
|
Merge tag 'v1.2.2'
1.2.2
|
2013-11-18 11:30:41 -08:00 |
Ritchie Martori
|
39e08b8445
|
Merge branch 'release/1.2.2' into production
|
2013-11-18 11:30:11 -08:00 |
Raymond Feng
|
3354ef72c7
|
Merge pull request #40 from strongloop/feature/rename-association
Rename association to relation
|
2013-11-18 11:26:38 -08:00 |
Raymond Feng
|
995a2139c8
|
Rename association to relation
|
2013-11-15 20:29:20 -08:00 |
Raymond Feng
|
31c5504050
|
Bump version and remove blanket
|
2013-11-15 13:54:29 -08:00 |
Raymond Feng
|
7f6398f4c5
|
Fix the reference to modelBuilder/dataSource
|
2013-11-15 13:54:15 -08:00 |
Raymond Feng
|
e51c8971f9
|
Merge pull request #39 from strongloop/model-builder
Separate the modelBuilder ref from dataSource
|
2013-11-15 13:31:39 -08:00 |
Raymond Feng
|
b5e0f14249
|
Separate the modelBuilder ref from dataSource
|
2013-11-15 11:12:33 -08:00 |
Ryan Graham
|
32fbc1aa9f
|
Wrap README.md at 78 characters where possible
|
2013-11-15 09:55:38 -08:00 |
Raymond Feng
|
a3d66b65ef
|
Bump version
|
2013-11-13 17:27:55 -08:00 |
Raymond Feng
|
13659ca19d
|
Merge pull request #38 from strongloop/refactor-ds
Remove inheritence from DataSource to ModelBuilder
|
2013-11-13 10:32:06 -08:00 |
Raymond Feng
|
526d126e41
|
Fix the relation lazy setup
|
2013-11-11 22:06:43 -08:00 |
Raymond Feng
|
275bb6ffac
|
Stop overwriting the static methods
|
2013-11-11 22:05:50 -08:00 |
Raymond Feng
|
ec7f79e935
|
Ensure the model is attached to DataSource for relations
|
2013-11-09 22:16:32 -08:00 |
Raymond Feng
|
7aa2eefec4
|
Remove inheritence from DataSource to ModelBuilder
|
2013-11-08 17:13:00 -08:00 |
Raymond Feng
|
4c75bd4575
|
Update to 1.2.0
|
2013-11-08 09:14:55 -08:00 |
Ritchie Martori
|
6e7ea325e3
|
Add travis
|
2013-11-08 09:14:25 -08:00 |
Raymond Feng
|
121a6a744b
|
Merge pull request #37 from strongloop/super-class
Allow settings.base to specify the base model
|
2013-11-08 09:11:55 -08:00 |
Raymond Feng
|
92d369e609
|
Add more assertions
|
2013-11-08 09:02:17 -08:00 |
Raymond Feng
|
0b899b0542
|
Allow settings.base to specify the base model
|
2013-11-07 17:11:17 -08:00 |
Raymond Feng
|
8feb531680
|
Merge pull request #36 from strongloop/redefine-model
Refactor the relation handling and enable it with attach
|
2013-11-07 13:33:59 -08:00 |
Raymond Feng
|
580ce14f0d
|
Extract the relation types
|
2013-11-07 13:30:54 -08:00 |
Raymond Feng
|
89a30e7edd
|
Add a test case for relations during attach
|
2013-11-07 13:28:18 -08:00 |
Raymond Feng
|
566da386ae
|
Refactor the relation handling and enable it with attach
|
2013-11-07 13:09:09 -08:00 |
Raymond Feng
|
e529322688
|
Merge pull request #35 from strongloop/redefine-model
Redefine the existing class if it's resolved
|
2013-11-06 14:39:41 -08:00 |
Raymond Feng
|
34107a6a26
|
Redefine the existing class if it's resolved
|
2013-11-06 14:00:22 -08:00 |
Raymond Feng
|
5d92bcb098
|
Merge pull request #34 from strongloop/type-or-relation-resolution
Enable deferred type/relation resolutions
|
2013-11-05 12:03:03 -08:00 |
Raymond Feng
|
68cf633795
|
Add support for hasMany-through and more tests
|
2013-11-05 09:29:24 -08:00 |
Raymond Feng
|
4fbec288c4
|
Enable deferred type/relation resolutions
|
2013-11-04 22:53:02 -08:00 |
Ritchie Martori
|
65bb5c8ead
|
Merge pull request #33 from strongloop/get-datasource
Remove model.dataSource property / Add model.getDataSource() method
|
2013-10-31 14:50:56 -07:00 |
Ritchie Martori
|
597a775e4c
|
Add model.getDataSource() method
|
2013-10-31 11:46:12 -07:00 |
Raymond Feng
|
e4802d38f4
|
Merge pull request #31 from strongloop/relation-docs
Improve the docs for model relations using diagrams
|
2013-10-30 15:24:20 -07:00 |
Raymond Feng
|
e5800bc257
|
Merge pull request #32 from strongloop/fix-mongodb-failure
Fix removeUndefined to bypass non-plain objects
|
2013-10-30 10:59:31 -07:00 |
Raymond Feng
|
d0055d8591
|
Fix removeUndefined to bypass non-plain objects
traverse.map() transform custom objects such as Date or ObjectID into
plain objects and it breaks the BSON serialization
|
2013-10-29 22:16:43 -07:00 |
Raymond Feng
|
dff3367f3a
|
Fix the regression when 1st arg is the connector module
|
2013-10-29 13:04:23 -07:00 |
Raymond Feng
|
e7a12367da
|
Improve the docs for model relations using diagrams
The example models are taked from:
http://guides.rubyonrails.org/association_basics.html
|
2013-10-29 11:00:51 -07:00 |
Raymond Feng
|
37ced0111e
|
Merge pull request #30 from strongloop/ds-url
Support datasource/connector configuration using URL string
|
2013-10-28 10:58:45 -07:00 |
Raymond Feng
|
24e93248d1
|
Merge pull request #29 from strongloop/scope-remoting
Create remote functions for predefined scopes/relations
|
2013-10-27 12:59:57 -07:00 |
Raymond Feng
|
8ad0194a51
|
Add a relation example following Ruby on Rails active records
|
2013-10-27 12:55:01 -07:00 |
Raymond Feng
|
2ae0fd8804
|
Honor the model plural name
|
2013-10-25 16:25:05 -07:00 |
Raymond Feng
|
1e91c42798
|
Merge pull request #28 from strongloop/check-undefined
Check undefined/null data
|
2013-10-25 16:19:11 -07:00 |