You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails generators can be a bit of a mystery for folks unfamiliar with them. While trying to explain to somebody where some of the file manipulation methods come from it took me way too many steps to find the documentation I was hoping for:
The method wasn't defined in the suspenders generator I was looking at, so walked up the inheritance chain to Suspenders::Generators::Base
Not defined there either so continued up inheritance chain and searched for Rails::Generators::Base on https://api.rubyonrails.org/
Not defined there either, but mention of Thor::Actions
Rails generators can be a bit of a mystery for folks unfamiliar with them. While trying to explain to somebody where some of the file manipulation methods come from it took me way too many steps to find the documentation I was hoping for:
Suspenders::Generators::Base
Rails::Generators::Base
on https://api.rubyonrails.org/Thor::Actions
I probably should have gone to https://guides.rubyonrails.org/generators.html instead, but I didn't think of it until after.
Having a couple of links in the contributor guide will hopefully make this easier for my future self, and for others.
cc @fridaland
The text was updated successfully, but these errors were encountered: