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 this in a single line:
#Execute via console rake db:drop db:create
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 this in a single line:
#Execute via console rake db:drop db:create
Hey everyone,
In a previous post I gave a quick example of how to copy syntax highlight from Notepad++ to word (http://www.whatibroke.com/?p=192), I’ve recently been made aware of a slightly easier approach:
Simply copy your code here, select your language and then paste to word.
Let me know if you come across any others.
Hey everyone,
I’ve just done a fresh install of RVM using the guide below. There were a few dependencies missing, but other than that it all went pretty smoothly.
Link: http://stjhimy.com/posts/10-five-quick-steps-to-set-up-rvm-with-rails-2-and-rails3
Next time I do an install I’ll try to document the whole thing, but for now that link is probably one of the better/simpler guides I’ve come across. If you have any problems please leave a comment below and I’ll try to get back to you.
UPDATE:
Just another guide I’ve come across that seems to work well, this one is a complete “start to finish” one:
http://rails.vandenabeele.com/blog/2011/11/26/installing-ruby-and-rails-with-rvm-on-ubuntu-11-dot-10/