# Problem with code from Agile web development

**URL:** <https://www.ruby-forum.com/t/problem-with-code-from-agile-web-development/70080>\
**Category:** Rails\
**Created:** [September 26, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/problem-with-code-from-agile-web-development/70080 "2006-09-26T18:47:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [September 26, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/problem-with-code-from-agile-web-development/70080/1 "2006-09-26T18:47:50Z")

</div>

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  
#ActiveRecord::ConnectionAdapters::MysqlAdapter:0x357170c

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.

Thanks

---

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [September 26, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/problem-with-code-from-agile-web-development/70080/2 "2006-09-26T19:21:40Z")

</div>

Hi Seth,

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

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

Just do a

rake rails:freeze:edge

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

On 9/26/06, Seth [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Terry (TAD) Donaghe

> **[太阳集团0638开头的网址✅【欢迎下载】](http://www.rubynoob.com)**
>
> 太阳集团0638开头的网址是一家创办历史悠久并且具有非常高的知名度的在线网娱乐平台为大家提供一个良好的彩票交流平台。

[http://www.tadspot.com](http://www.tadspot.com)

---

<div class="post-metadata">

**Author:** ![seth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@seth](https://www.ruby-forum.com/u/seth)\
**Post date:** [September 26, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/problem-with-code-from-agile-web-development/70080/3 "2006-09-26T21:14:18Z")

</div>

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?
