Genereted rails structure