Fun with Rails Generators
We'll hack on the api_client generator that comes in Jumpstart Pro to learn about rails generators.
Come work with me! - https://www.ycombinator.com/companies/craftwork
Rails generators guides - https://guides.rubyonrails.org/generators.html
Jumpstart Pro Rails - https://jumpstartrails.com/
Thor - http://whatisthor.com/ https://github.com/rails/thor
Model Generator Source - https://github.com/rails/rails/blob/main/activerecord/lib/rails/generators/active_record/model/model_generator.rb
Named Base Source - https://github.com/rails/rails/blob/main/railties/lib/rails/generators/named_base.rb#L182
Generated Attribute Source - https://github.com/rails/rails/blob/main/railties/lib/rails/generators/generated_attribute.rb#L72
#rubyonrails #ruby #rails