Precourse work for rails