Learning Rails in different environments