I am missing something here. Using PostgreSQL, when I remove this line
from the rake task, I don't see the DB being populated although I do
invoke create! on some models.
When I use debug(@some_instance) I see its id gets increased, so there
is definitely some data already in the DB.
Why can't I
On Wed, Nov 5, 2008 at 12:16 AM, Fernando Perez [EMAIL PROTECTED] wrote:
I am missing something here. Using PostgreSQL, when I remove this line
from the rake task, I don't see the DB being populated although I do
invoke create! on some models.
Vanilla Rails test:* tasks do the same, as do the
Fernando Perez wrote:
I am missing something here. Using PostgreSQL, when I remove this line
from the rake task, I don't see the DB being populated although I do
invoke create! on some models.
When I use debug(@some_instance) I see its id gets increased, so there
is definitely some data already
On Tue, Nov 4, 2008 at 3:25 PM, aslak hellesoy [EMAIL PROTECTED]wrote:
db:test:prepare is a shortcut for running all the migrations from the
first to the last.
Not quite. db:test:prepare just copies the schema from the development
database to the test database. It aborts if there are any