rails g model entry title:string budget:interger
rails g model spending name:string amount:interger
Fixed database.yml
typo
rails g migration AddSpendingIdToEntry spending:references
migration
set relation