New to rails here, and experimenting with using the db\seeds.rb file and such
First, I want to clear all the data in my database using rake db:reset but it's not working!
Here's my output
C:\Sites\sportproject>rake db:reset
Couldn't drop db/development.sqlite3 : #
db/development.sqlite3 already exists
-- create_table("sports", {:force=>true})
-> 0.0640s
-- create_table("teams", {:force=>true})
-> 0.0340s
-- add_index("teams", ["sport_id"], {:name=>"index_teams_on_sport_id"})
-> 0.0160s
-- initialize_schema_migrations_table()
-> 0.0000s
-- assume_migrated_upto_version(20130531012951, ["C:/Sites/sportproject/db/migra
te"])
-> 0.0000s
Then I log into my console with rails console and type Sport.all (Sport is the name of one of my models) and it's showing there's still data!
What am I doing wrong?