rails g controller main index, root 'main#index'