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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Mar 16, 2011 at 4:41 PM, newguy <aimanparvaiz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. http://guides.rubyonrails.org/getting_started.html B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 March 2011 02:42, Bryan Crossland <bacrossland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Wed, Mar 16, 2011 at 4:41 PM, newguy <aimanparvaiz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. > > http://guides.rubyonrails.org/getting_started.htmlThen work right through the free online tutorial railstutorial.org. By that time all the basic questions should have been answered. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.