Umm…at least with sqlite3, this can cause problems!Â It seems to delete the first column and then create the second, so if it seems that your system breaks when you rename a column with a migration…
it might be that with the rename it deleted all the data!
how to create a link to a different controller (in a page “view”)
<%= link_to "VisibleName", :controller => 'post', :action => 'show', :id => @post.id
how to install ruby and get it runnin’ on windows with rails…with sqlite3
install ruby (should work) one click installer…
gem install rails --include-dependencies
gem install sqlite3-ruby (for windows, choose number 2:sqlite3-ruby 1.2.1 mswin32
now go to sqlite and download sqlite3 “dll without tcl bindings” and “executable” for sqlite3, copy sqlite3.exe, sqlite3.dll to ruby\bin directory
Then if the app is already developed:
now rock and roll.
If it is not ready then edit config\database.yml and change it to say something similar to:
# Warning: The database defined as ‘test’ will be erased and
# re-generated from your development database when you run ‘rake’.
# Do not set this db to the same as development or production.
And you are done!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!