Problem with code from Agile web development

I’ve tried running the migration from p. 76 of the 2nd edition (its
supposed to populate the table with data). But it gives me this error:

undefined method `create’ for

I’m not running edge rails and I know that earlier in the book one of
the examples required this. Could this be my problem.


Hi Seth,

In order to get everything to work like the tutorial said, I did have to
edge rails. I’m not sure if it’s the solution to this problem or not,

I’d suggest you go ahead and get edge rails, just for this tutorial

Just do a

rake rails:freeze:edge

at the top level of the depot app. This will just stick the latest
of rails into your vendor/rails directory. It shouldn’t affect anything

On 9/26/06, Seth [email protected] wrote:


Posted via

Terry (TAD) Donaghe

Thanks for the help.

I don’t know a thing about Subversion and all the tutorials on setting
up Edge rails assume that I do. What do I need to do in order to use
Subversion to get Edge Rails?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs