What Scott was probably trying to say is that you need to read a beginners
Ruby on Rails material (he provided a few links to get you started) before
asking questions. It's 101 RoR... it's not a question that needs attention
on a forum (because it is documented in the API docs). Unless we
misunderstood you completely and you are really try to accomplish something
complex, but lacked the words (though that does not seem the case from your
latest reply).

TLDR: read a free online tutorial course / e-book which are plenty out
there before asking very basic questions.

And the rationale behind that is the following: if one is allowed to ask
and get definite answers to questions how to basically use a well
documented function, then who would forbid me to ask how I'd add two
numbers with ruby...

2012/8/27 Balaraju Vankala <[email protected]>

> hey its very simple just like html....
> in the html.erb file use below code you can may be get it.
>
>
> Category:
> <%= f.select :category_id, Category.all.collect{|c| [c.name,c.id]} %>
>
> in the category table we have id and name of the categories.......
>
> --
> 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.
>
>
>


-- 
Pagarbiai,
Gintautas

-- 
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