norman / ambry

Ambry is a database and ORM replacement for (mostly) static models and small datasets. It provides ActiveModel compatibility, and flexible searching and storage.
http://rubydoc.info/github/norman/ambry/master/frames
MIT License
57 stars 3 forks source link

small additions... #7

Closed nachokb closed 13 years ago

nachokb commented 13 years ago

Norman, here's two simple changes I've found useful. Let me know if this doesn't work out.

Didn't dare instantiating a new Adapter if there's none to avoid a nil error when (didn't like it either, I'd like to remove the side fx completely and make registration explicit unless it's the basic Adapter you're using).

btw, dunno why luis & adrian are being notified (hey there!)

nachokb

norman commented 13 years ago

Nice additions, thanks! I'm going to add default adapter functionality soon (possibly today).

Looks like Luis and Adrián are on there because when this was still private I shared it with them. Removed them to avoid spamming (though if they want back in I'm happy to re-add).