Skip to content

Conversation

@CodeMonkeySteve
Copy link
Contributor

Implements various convenience functions and some of the ActiveRecord API. Should be fully backward compatible, except for the return value on #save.

Note: this includes several un-merged commits from the master branch, you might want to pull master first.

@carlosparamio
Copy link
Owner

Nice. Could you enclose those finders on its custom module? We could name it "MongoODM::ActiveRecordFinders" or so.

BTW, I've pushed a new version with support for BSON::DBRef objects, and referencing / dereferencing of those objects even inside arrays and hashes.

@carlosparamio
Copy link
Owner

Ok, now I see that those finders are under a "Finders" module. I'm wondering if that module should be optional or not. What do you think?

@CodeMonkeySteve
Copy link
Contributor Author

I so no reason not to include it. Who can have too many convenience functions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants