/sql_views

Primary LanguageRuby

README

To replicate:

  • check that config/database.yml has the right credentials to access your mysql console.

  • run ‘rake db:create db:migrate`

  • run ‘rails c`

  • Create a user: ‘u = User.create!`

  • Check the id of u: ‘u.id`

  • It will probably be 0, which is incorrect.