Recreate Database - Ruby on Rails
Hey everyone, Due to an issue with a few migrations in a dev environment I needed to recreate the database. A quick Google search revealed that it is possible to do…
Read postLet's take a look at what I've broken today
Hey everyone, Due to an issue with a few migrations in a dev environment I needed to recreate the database. A quick Google search revealed that it is possible to do…
Read postJust an error I ran into while running bundle install on a new ubuntu virtual: To fix it, simply run the following:
Read postI ran into a bit of problem moving an app to a test Heroku host – I needed to install PostgreSQL. I added the following to my Gemfile: I then tried to run bundle…
Read postWhile trying to do a migration today I received the following message: undefined method `to_sym’ for nil:NilClass #After running a trace (rake db:migrate –trace)…
Read postJust a quick post on how to view a table’s structure in SQLite3. Again, not something I’ve broken yet – more something I seem to keep forgetting. Simply start Sqlite:…
Read postNot really something that I’ve broken (yet), but definitely something I found useful when starting out with rails – how to view all tables: Start Sqlite3 i.e.…
Read post