Ruby on Rails Tuesday, June 29, 2010

atin wrote:
> Hi
> I am learning rails & I am developing a blog site using it so i want
> to make a drop down menu which would have the title of the blog & on
> selecting

you need javascript to handle event onselect

that title i should be redirected to the show page of blog
> contents
> I have 2 models
> Blog:
> title
> has_many articles
>
> Artcile:
> name
> author
> date
> body
> belongs_to blog

If you want to do it using forms you must show some button to submit
form data
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment