resources :articles
rails g controller articles
Dodanie metody oraz formularza