04. Instalación de Annotate GEM - williamromero/curso-rails GitHub Wiki

We will use this gem to add a comment summarizing the current schema. First its necessary to open the Gemfile.

  # Gemfile
  gem 'annotate'

After that, let's run the bundle install to add the new gem to the project.

  bundle install

Let's run this command to automate the schema summarizer each time a migration will be generated.

  rails g annotate:install