RailsDba functional (proof of concept)