orm_adapter
orm_adapter copied to clipboard
Provides a single point of entry for using basic features of ruby ORMs
This is a proposition to adapt the specs to the newer RSpec syntax: - replace `be_true` and `be_false` by `be true` and `be false` - increase the minimal version for...
ActiveRecord and Mongoid supports `includes` to eager load relations, I'm not sure about the other ORM's. Should `orm_adapter` support `includes`? I think yes. If there are more :+1: for this,...
Hey folks, I'm making use of encrypted_id which overrides ActiveRecord's `find` method in order to handle decryption of an obfuscated id. I'm also using devise which makes use of orm_adapter...
ActiveRecord 4.1.5 addressed a security vulnerability whereby parameters passed to `where` were not sanitized, so cases where `where` was used in conjunction with `create` could potentially allow injecting arbitrary attributes...
Mongoid #to_key returns `BSON::ObjectId` which is serialized to `{"$oid": "blahblah"}`. This method will now return string which will not cause errors like plataformatec/devise#2882.
When calling $ rails generate --help there occurs an deprecation warning when adding devise gem to the Gemfile, which depends on orm_adapter: "DEPRECATION WARNING: require "activerecord" is deprecated and will...
Referring to https://github.com/ianwhite/orm_adapter/issues/27 This is just a discussion starting point. As you may have seen, I add the collection adapter only to ActiveRecord. This is because I wanted to discuss...
DataMapper support composte primary key. RDoc is this: http://rdoc.info/github/datamapper/dm-core/DataMapper/Model#get-instance_method
Added some lazy loading for ActiveRecord and Mongoid through find_collection method.