[Radiant] Radiant Digest, Vol 15, Issue 1
Jonathan Métillon
jmetillon at gmail.com
Fri Jun 1 02:41:36 CDT 2007
From: Sean Cribbs <seancribbs at gmail.com>
> To: radiant at lists.radiantcms.org
> Date: Thu, 31 May 2007 11:05:34 -0500
> Subject: Re: [Radiant] My own custimized db:bootstrap
>
> Check out the bleeding-edge import_export extension. In creating it, I
> leveraged a lot of existing code in the db:bootstrap task, so it
> essentially creates a template similar to the predefined ones.
> *However*, it also loads users from the template, unlike the
> pre-packaged ones. The extension essentially works but may have
> undiscovered bugs. Caveat emptor.
>
> Sean
I exported very easily to YAML using /admin/export
And I created a new Radiant app with empty template, then:
rake db:import TEMPLATE=export.yml
The migration starts and fails at:
== AddOptimisticLocking: migrated (0.4705s) =============
rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.delete
You can review the full rake task log with trace here:
http://paste.ubuntu-nl.org/23550/
More information about the Radiant
mailing list