Blank Pad Development

A photo of Jon

Hello There

I’m Jon, a web developer working for Hubbub to make it easier for people to buy great food from their local shops.

This is where I occassionally write about what I'm doing, and make a note of anything I'm likely to want to Google in the future!

Using Paper Trail with Rails 3

I installed Paper Trail for use in a Rails 3 application today, which seems to work fine, except for the migration generator not working to. Thankfully it’s nice and easy to fix:

rails g migration create_versions

And then replace the contents of that file with the template from GitHub.

Once that’s done, migrate up, and you’re good to go.

Apparently there’s a fork with a Rails 3 generator on GitHub already, so this should stop being neccesary once the author gets back from holiday.

blog comments powered by Disqus