Hi I'm new to Rails and I'm using nitrous.io as my IDE.
I just generated a model using rails generate model Micropost content:text user:references
When I run bundle exec rake db:migrate I get the following error: ArgumentError: Write key must be initialized.
Any help with this will be greatly appreciated.
Are you using Segment's ruby gem by any chance? It happened to me too and it turned out it was a Segment misconfiguration. The API key was missing.
See the docs: https://github.com/segmentio/analytics-ruby#usage
And this is where the error is fired: https://github.com/segmentio/analytics-ruby/blob/master/lib/segment/analytics/client.rb#L336