How do I view an older version of an SVN file?
You can update to an older revision: svn update -r 666 file Or you can just view the file directly: svn cat -r 666 file | less
You can update to an older revision: svn update -r 666 file Or you can just view the file directly: svn cat -r 666 file | less
Here is how I would approach this problem – keep in mind I haven’t done this before, it is just concepts that I tested out a little bit in my dev environment. You should be able to setup a pretty robust framework using this and some scripting in your language of choice. Basically we are … Read more
You have 2 options: You can take the Down from the bad migration and put it in a new migration (you will also need to make the subsequent changes to the model). This is effectively rolling up to a better version. I use this option on things that have gone to multiple environments. The other … Read more
You won’t always be able to simply generate the migration to already have the code you want. You can create an empty migration and then populate it with the code you need. You can find information about how to accomplish different tasks in a migration here: http://api.rubyonrails.org/classes/ActiveRecord/Migration.html More specifically, you can see how to drop … Read more
rake db:rollback STEP=1 Is a way to do this, if the migration you want to rollback is the last one applied. You can substitute 1 for however many migrations you want to go back. For example: rake db:rollback STEP=5 Will also rollback all the migration that happened later (4, 3, 2 and also 1). To … Read more
Those messages are nothing to worry about. The symlinks that are being complained about are only needed if you’re using lilo as your bootloader, because it uses those symlinks to find your “current” kernel. Grub, being more flexible, has it’s own way of doing things, and doesn’t need the symlinks.