# First timer , needs help in passing parameter

**URL:** <https://www.ruby-forum.com/t/first-timer-needs-help-in-passing-parameter/204616>\
**Category:** Rails\
**Created:** [March 16, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/first-timer-needs-help-in-passing-parameter/204616 "2011-03-16T23:21:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 16, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/first-timer-needs-help-in-passing-parameter/204616/1 "2011-03-16T23:21:31Z")

</div>

Hi guys  
this is my first project with ROR, I have a action in controller and  
it takes two parameters, these parameters are to be entered by the  
user through a form in the view, how can I make forms with two input  
text fields and pass parameters to this action of mine in the  
controller from the form.

Am sorry if this is a silly question but am very new to ROR.

Thanks

---

<div class="post-metadata">

**Author:** ![newguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@newguy](https://www.ruby-forum.com/u/newguy)\
**Post date:** [March 17, 2011, 3:43am UTC](https://www.ruby-forum.com/t/first-timer-needs-help-in-passing-parameter/204616/2 "2011-03-17T03:43:46Z")

</div>

On Wed, Mar 16, 2011 at 4:41 PM, newguy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi guys  
> this is my first project with ROR, I have a action in controller and  
> it takes two parameters, these parameters are to be entered by the  
> user through a form in the view, how can I make forms with two input  
> text fields and pass parameters to this action of mine in the  
> controller from the form.
> 
> Am sorry if this is a silly question but am very new to ROR.

I think you will find what you need by working through the tutorial  
here.

> **[Getting Started with Rails — Ruby on Rails Guides](https://guides.rubyonrails.org/getting_started.html)**
>
> This guide covers getting up and running with Ruby on Rails.After reading this guide, you will know: How to install Rails, create a new Rails application, and connect your application to a database. The general layout of a Rails application. The...

B.

---

<div class="post-metadata">

**Author:** ![newguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@newguy](https://www.ruby-forum.com/u/newguy)\
**Post date:** [March 17, 2011, 9:56am UTC](https://www.ruby-forum.com/t/first-timer-needs-help-in-passing-parameter/204616/3 "2011-03-17T09:56:57Z")

</div>

On 17 March 2011 02:42, Bryan C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> I think you will find what you need by working through the tutorial here.
> 
> [Getting Started with Rails — Ruby on Rails Guides](http://guides.rubyonrails.org/getting_started.html)

Then work right through the free online tutorial [railstutorial.org](http://railstutorial.org).  
By that time all the basic questions should have been answered.

Colin
