# Re: undefined local variable or method \`class\_name' error

**URL:** <https://www.ruby-forum.com/t/re-undefined-local-variable-or-method-class-name-error/92986>\
**Category:** Radiant CMS\
**Created:** [April 26, 2007, 10:58am UTC](https://www.ruby-forum.com/t/re-undefined-local-variable-or-method-class-name-error/92986 "2007-04-26T10:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [April 26, 2007, 10:58am UTC](https://www.ruby-forum.com/t/re-undefined-local-variable-or-method-class-name-error/92986/1 "2007-04-26T10:58:27Z")

</div>

Sean,

Many thanks for such a quick fix, the migrage worked first time.

Will I need to use subversion when updating on railsmachine, or can I  
simply update the gem and restore from the migrated datebase on my local  
machine?

Thanks again

Sharon

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [April 26, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/re-undefined-local-variable-or-method-class-name-error/92986/2 "2007-04-26T15:54:41Z")

</div>

The turnaround for releasing gems is obviously longer than single  
updates via Subversion. I don’t think you’ll have to worry about SVN on  
RailsMachine, they fully support it. Just make sure to run rake  
radiant:freeze:edge before you try to migrate.

That said, you could use the experimental import\_export extension if you  
want. Unfortunately, it’s so new I can’t guarantee it will work with  
all DB configurations.

Sean
