Rails engine for an integrated learning environment