How to check custom model for compatibility with Rails

Hello, I created ODM for MongoDB and wondering is there any way to ensure it's compatible with Rails?

Maybe there's some kind of shared examples for RSpec to run it against the model?

Thanks!

P.S. The model itself http://alexeypetrushin.github.com/mongodb_model

Hello, I created ODM for MongoDB and wondering is there any way to ensure it's compatible with Rails?

Maybe there's some kind of shared examples for RSpec to run it against the model?

Sounds like you want ActiveModel / ActiveModel::Lint :

Fred

Thanks, didn't know about the Lint, exactly what I need.