Installed active admin. FINALLY! Added dependencies to database tables