Correcting Rails app integration issues

This addresses #473