I'm attempting to move this blog from WordPress to Rails. Why? Because I'm learning Rails!
Step one in the transition is to build a Rails app that can make use of an existing WordPress database. The following seems to work...
First, create a Rails app (using MySQL for the database), then import the WordPress database into the Rails app database:
Next, update the schema in the app
Next (with a bit of help from schema_to_scaffold), generate the scaffold to link the app to the database. These commands, followed by lines to be added to the corresponding model files, seem to do the trick, for the default WordPress database structure:
Then, for some instant gratification, make a controller for the blog:
Set this as the root page, by adding to config/routes.rb:
In the Blog model, put:
In BlogController, put:
And in the view for the blog index, put:
Lots more work to do, but it's a start!