# Removing scaffold?

**URL:** <https://www.ruby-forum.com/t/removing-scaffold/182643>\
**Category:** Rails\
**Created:** [January 31, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/removing-scaffold/182643 "2010-01-31T21:40:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![drsharp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Post date:** [January 31, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/removing-scaffold/182643/1 "2010-01-31T21:40:40Z")

</div>

Hi,  
I just created a new scaffold in my app using the nifty-scaffold plugin.  
However, I messed up the syntax and forgot the model name, so it ended  
up being called “Title:string”.

I now can’t run any tasks from the terminal as I get the following  
error:

vendor/rails/activesupport/lib/active\_support/inflector.rb:352:in  
`const\_defined?’: wrong constant name Title:stringsHelper

Followed by lines of other complaints.

I’ve deleted the migration, controller, model and view files, but the  
error continues to occur. What else do I need to get rid of?

Any advice appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![drsharp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Post date:** [January 31, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/removing-scaffold/182643/2 "2010-01-31T23:55:10Z")

</div>

Try running ‘script/destroy scaffold Title:string’ and seeing if that  
takes  
care of it for you.

---

<div class="post-metadata">

**Author:** ![drsharp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Post date:** [February 1, 2010, 12:51am UTC](https://www.ruby-forum.com/t/removing-scaffold/182643/3 "2010-02-01T00:51:28Z")

</div>

Steve K. wrote:

> Try running ‘script/destroy scaffold Title:string’ and seeing if that  
> takes  
> care of it for you.

Or use your version control system to roll back the changes.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![drsharp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e9bcb4/32.png) [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Post date:** [February 1, 2010, 2:22am UTC](https://www.ruby-forum.com/t/removing-scaffold/182643/4 "2010-02-01T02:22:02Z")

</div>

Check your routes file too (if you can’t roll back from your version  
control system).
