Wrox Programmer Forums
|
BOOK: Beginning Ruby on Rails
This is the forum to discuss the Wrox book Beginning Ruby on Rails by Steve Holzner Ph.D.; ISBN: 9780470069158
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Ruby on Rails section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2008, 02:25 PM
Registered User
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 8 - Testing Your Model

Hello -

I am working on the section in Chapter 8 for testing your model. I followed the instructions on creating the store_test database, entering this into the command line:

Code:
rake clone_structure_to_test
But the rake is aborted, returning this error to me:

Code:
rake aborted!
Don't know how to build task 'clone_structure_to_test'
Does anyone have any thoughts or insight as to why this might be happening? Any help troubleshooting this is appreciated.

Cheers,
Matthew

 
Old October 24th, 2008, 07:15 AM
Registered User
 
Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

If you are running Rails 2.x then the correct command is:

Code:
rake db:test:clone_structure





Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovery model ??? RinoDM SQL Server 2005 1 April 13th, 2007 12:48 AM
.NET model vs. pre .NET model. raychoudhury BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 January 11th, 2007 06:11 AM
Content model imroostercogburn XML 1 August 13th, 2006 02:08 AM
Excel Object Model Yagilh Excel VBA 5 February 22nd, 2005 04:38 PM
Get Model Property graveman Pro VB 6 0 March 10th, 2004 12:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.