# Form question

**URL:** <https://www.ruby-forum.com/t/form-question/125762>\
**Category:** Rails\
**Created:** [January 11, 2008, 8:54pm UTC](https://www.ruby-forum.com/t/form-question/125762 "2008-01-11T20:54:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![extempore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/6bbea6/32.png) [@extempore](https://www.ruby-forum.com/u/extempore)\
**Post date:** [January 11, 2008, 8:54pm UTC](https://www.ruby-forum.com/t/form-question/125762/1 "2008-01-11T20:54:04Z")

</div>

Dears  
I new to the ruby world and I would like to create forms and send this  
info to the db. when I use the scaffold method I can’t seem to connect  
to my database. when I hit select show I only get the 2 links for edit  
and safe.  
I already made this form

# Een nieuw lid toevoegen
\<%= error\_messages\_for 'Speler' %\> \<% form\_for :Speler do |f| %\>

name:  
\<%= f.text\_field :naam %\>

achternaam:  
\<%= f.text\_field :achternaam %\>

score:  
\<%= f.text\_field :score %\>

ploeg:  
\<%= f.text\_field :ploeg %\>

\<%= submit\_tag %\>

\<% end %\> but I have no clue what so ever what I have to do to insert the data into my data base. is there a biginner tutorial somewhere where I could figure out how I can learn to link the form to my database with a notice when a given item is not entered thanks very much for your help

---

<div class="post-metadata">

**Author:** ![extempore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/6bbea6/32.png) [@extempore](https://www.ruby-forum.com/u/extempore)\
**Post date:** [January 11, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/form-question/125762/2 "2008-01-11T21:48:41Z")

</div>

Paul P. wrote:

> is there a biginner tutorial somewhere where I could figure out how I  
> can learn to link the form to my database with a notice when a given  
> item is not entered  
> thanks very much for your help

Start here:  
[http://media.rubyonrails.org/video/rails\_take2\_with\_sound.mov](http://media.rubyonrails.org/video/rails_take2_with_sound.mov)

---

<div class="post-metadata">

**Author:** ![extempore](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/6bbea6/32.png) [@extempore](https://www.ruby-forum.com/u/extempore)\
**Post date:** [January 11, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/form-question/125762/3 "2008-01-11T22:05:59Z")

</div>

James  
Is there a big difference between the scaffold in the previous versions  
of ruby and rails, I’m using ruby 1.86 en rails 2.0.2 I use netbeans to  
build my website I know in the previous version the scaffold needed the  
extra info like create delete show ect while the new one parently has  
enough with the Model name.  
but when you try to select anything like edit or show it does only show  
the link edit and save?

thanks for the help

Paul

James B. wrote:

> Paul P. wrote:
> 
> > is there a biginner tutorial somewhere where I could figure out how I  
> > can learn to link the form to my database with a notice when a given  
> > item is not entered  
> > thanks very much for your help
> 
> Start here:  
> [http://media.rubyonrails.org/video/rails\_take2\_with\_sound.mov](http://media.rubyonrails.org/video/rails_take2_with_sound.mov)
