Hassan Schroeder wrote in post #1069841:
> On Mon, Jul 23, 2012 at 8:53 AM, lalalalala pqpqpqpqpq
> <[email protected]> wrote:
>
>> I have to make this app for my internship, could you just guide me how
>> to make the submit button? I'm guessing I'll have to make a form which
>> passes the selected option to an action in my controller?
>
> Yes. Unless you use JavaScript, which I'll assume isn't an option at
> this point :-)
>
> --
> Hassan Schroeder ------------------------ [email protected]
> http://about.me/hassanschroeder
> twitter: @hassan

How would I pass the id of an option from the view to the controller? As 
in, what command in the view? And how would I access this id that is 
passed, in the controller?

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to