activerecord_constraints 0.1.1
This plugin currently implements constraints for PostgreSQL only. It should provide a structure for a more abstract implementation. Currently it implements foreign key constraints, unique constraints and check constraints. null and not null constraints would be easy to add but they may collide with preexisting Active Record code.