Source & Downloads

All example project source code can be obtained from our Google Code repository. You’ll need a Subversion client installed to check out the sources. Code for each chapter example can be found in the examples directory. (You can also download the full book source from Apress.com.)

svn checkout http://practical-rails-plugins.googlecode.com/svn/trunk/examples practical-rails-plugins

The repository also contains the reference plugins used for the development of this book. Since plugin code may change as it evolves (and/or may be relocated to a different repository URL!), we chose to take a snapshot of the plugin versions as they existed at the time of the books writing, so that they’ll be preserved for your use in our examples.

If you have any problem installing or using one of the plugins covered in the book, you may wish to try using our reference version of that plugin, available at http://svn.railsplugins.com/plugins/plugin_name. For example, you can install the reference version of the acts_as_versioned plugin from our server with the following command:

ruby script/plugin install http://svn.railsplugins.com/plugins/acts_as_versioned

Alternatively, you can download the whole project source at once from the examples directory as mentioned above; each project has the plugins pre-installed.

Browse the repository (hosted at Google Code)