# Table name

**URL:** <https://www.ruby-forum.com/t/table-name/96101>\
**Category:** Rails\
**Created:** [June 26, 2006, 8:28am UTC](https://www.ruby-forum.com/t/table-name/96101 "2006-06-26T08:28:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 8:28am UTC](https://www.ruby-forum.com/t/table-name/96101/1 "2006-06-26T08:28:32Z")

</div>

hello freinds…  
I m very new to ruby on rails and i m facing a problem…  
whenever i add Scaffold table and try running in that broser it shos  
error that the particular tbale doesnot exist…  
also it changes the name of the table , for eg.table names Recipe gets  
changed to Recipes and in order to get ountput i need to change the name  
of the table TO Recipies…is there any reason to this  
pls help me out its tough to change the name of table  
everytime…  
pls help me out…  
\waiting

shweta

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 8:36am UTC](https://www.ruby-forum.com/t/table-name/96101/2 "2006-06-26T08:36:06Z")

</div>

On Mon, 2006-06-26 at 08:28 +0200, shweta wrote:

> hello freinds…  
> I m very new to ruby on rails and i m facing a problem…  
> whenever i add Scaffold table and try running in that broser it shos  
> error that the particular tbale doesnot exist…  
> also it changes the name of the table , for eg.table names Recipe gets  
> changed to Recipes and in order to get ountput i need to change the name  
> of the table TO Recipies…is there any reason to this  
> pls help me out its tough to change the name of table  
> everytime…  
> pls help me out…

* * *

You really need to learn through some of the tutorials or Agile Web  
Development With Rails (the bible of Ruby on Rails) as this explains  
things…

pluralization is handled automatically and if you swim against the tide,  
you fight the things that it handles for you.

script/generate model Activity # singular form as a record is singular  
script/generate scaffold Activities # plural form for lots of records

Craig

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 9:40am UTC](https://www.ruby-forum.com/t/table-name/96101/3 "2006-06-26T09:40:21Z")

</div>

hi dear,  
thanks for speedy response …but pls tel me from where do i get the  
PDF of this book that is free version of it…  
shwets

Craig W. wrote:

> On Mon, 2006-06-26 at 08:28 +0200, shweta wrote:
> 
> > hello freinds…  
> > I m very new to ruby on rails and i m facing a problem…  
> > whenever i add Scaffold table and try running in that broser it shos  
> > error that the particular tbale doesnot exist…  
> > also it changes the name of the table , for eg.table names Recipe gets  
> > changed to Recipes and in order to get ountput i need to change the name  
> > of the table TO Recipies…is there any reason to this  
> > pls help me out its tough to change the name of table  
> > everytime…  
> > pls help me out…
> 
> * * *
> 
> You really need to learn through some of the tutorials or Agile Web  
> Development With Rails (the bible of Ruby on Rails) as this explains  
> things…
> 
> pluralization is handled automatically and if you swim against the tide,  
> you fight the things that it handles for you.
> 
> script/generate model Activity # singular form as a record is singular  
> script/generate scaffold Activities # plural form for lots of records
> 
> Craig

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 12:16pm UTC](https://www.ruby-forum.com/t/table-name/96101/4 "2006-06-26T12:16:06Z")

</div>

shweta bairwa wrote:

> hi dear,  
> thanks for speedy response …but pls tel me from where do i get the  
> PDF of this book that is free version of it…  
> shwets

On the other hand, you may want to try reading one of the many free  
Rails tutorials for an introduction, such as the Four Days with Rails.  
Just search Google…

Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 1:23pm UTC](https://www.ruby-forum.com/t/table-name/96101/5 "2006-06-26T13:23:27Z")

</div>

hey ihave done that…in that only i have dobts i could able to develop  
but have doubts…  
shwets

u sound indian where r u from

Mohit S. wrote:

> shweta bairwa wrote:
> 
> > hi dear,  
> > thanks for speedy response …but pls tel me from where do i get the  
> > PDF of this book that is free version of it…  
> > shwets
> 
> On the other hand, you may want to try reading one of the many free  
> Rails tutorials for an introduction, such as the Four Days with Rails.  
> Just search Google…
> 
> Cheers  
> Mohit.

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 10:10am UTC](https://www.ruby-forum.com/t/table-name/96101/6 "2006-06-26T10:10:40Z")

</div>

Agile Web D. with Rails, is available on PDF but not free.

> **[Pragmatic Bookshelf: By Developers, For Developers](https://pragprog.com/)**
>
> We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn with us.

First Edition  
[http://www.pragmaticprogrammer.com/titles/rails1/index.html](http://www.pragmaticprogrammer.com/titles/rails1/index.html)

Second Edition (Draft):  
[http://www.pragmaticprogrammer.com/titles/rails2/index.html](http://www.pragmaticprogrammer.com/titles/rails2/index.html)  
Hint if you buy the PDF you can get the final update when it is  
released.

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 27, 2006, 7:35am UTC](https://www.ruby-forum.com/t/table-name/96101/7 "2006-06-27T07:35:45Z")

</div>

thanks dear i wil arranging that book …where r u from …MOhit ur  
name sounds indian???  
shwets

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 26, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/table-name/96101/8 "2006-06-26T15:45:39Z")

</div>

shweta bairwa wrote:

> hey ihave done that…in that only i have dobts i could able to develop  
> but have doubts…  
> shwets

If you have got through the tutorials, you may be able to start  
developing… you should have been able to grab the basics from the  
tutorials…  
But, if you’re still confused, you may need to buy yourself a copy of  
the Agile Web D. with Rails book and see if that helps…

Cheers  
Mohit.
