# Ajax scaffold

**URL:** <https://www.ruby-forum.com/t/ajax-scaffold/100365>\
**Category:** Rails\
**Created:** [July 28, 2006, 4:26pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365 "2006-07-28T16:26:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 28, 2006, 4:26pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365/1 "2006-07-28T16:26:22Z")

</div>

someone using ajax scaffold ??

I’m using

```
@scaffold_columns = [
  AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" })
]

```

in my model…

I have a column named “name”, but it’s not working, When I click in  
“Create New” ajax indicator starts but not occurs . . .

someone can help me? tks

---

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 28, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365/2 "2006-07-28T16:40:51Z")

</div>

Fernando wrote:

> someone using ajax scaffold ??
> 
> I’m using
> 
> ```
> @scaffold_columns = [
> AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" })
> ]
> 
> ```
> 
> in my model…
> 
> I have a column named “name”, but it’s not working, When I click in  
> “Create New” ajax indicator starts but not occurs . . .
> 
> someone can help me? tks

There’s a forum for Ajax Scaffold that might have the answer in it:  
[http://groups.google.com/group/ajaxscaffold](http://groups.google.com/group/ajaxscaffold)

But for any ajax code, you’d do well to install Firebug or some other  
traffic monitor to see what responses your server is returning.

---

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 28, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365/3 "2006-07-28T16:46:35Z")

</div>

Fernando wrote:

> someone using ajax scaffold ??  
> …

I have had a similar problem. If there aree no records in the table  
sometimes it balks. If this is the case, try putting a record in with  
SQL then see if works.

---

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 28, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365/4 "2006-07-28T16:55:34Z")

</div>

* * *

Rails mailing list  
removed\_email\_address@domain.invalid  
[http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

---

<div class="post-metadata">

**Author:** ![fernando](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/779978/32.png) [@fernando](https://www.ruby-forum.com/u/fernando)\
**Post date:** [July 28, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/ajax-scaffold/100365/5 "2006-07-28T16:48:47Z")

</div>

damon wrote:

> Fernando wrote:
> 
> > someone using ajax scaffold ??  
> > …
> 
> I have had a similar problem. If there aree no records in the table  
> sometimes it balks. If this is the case, try putting a record in with  
> SQL then see if works.

It should show a special grey row ‘No entries’ if there are no rows.
