Skip to content
Tim Fischbach edited this page Jun 25, 2014 · 10 revisions

When moving your project to a newer version of the Pageflow gem, there are a couple of steps you need to perform to upgrade your application.

Read the CHANGELOG

Pageflow is still in a 0.x version. We plan to follow semantic versioning once we have reached 1.0. For now we'll increase the patch level for bug fix releases and the minor version whenever (possibly breaking) functional changes or enhancements occur.

Please always carefully review the CHANGELOG for additional instructions before updating.

Increasing the Gem Version

cd my_pageflow_app
$EDITOR Gemfile # Increase Pageflow version
bundle update pageflow

Database Mirgations

You need to make sure the most recent migrations are applied to your database. Here's the full process

bundle exec rake pageflow:install:migrations # Copies pageflow migrations to db/migrate
bundle exec rake db:migrate

Now restart your app.