search for: mingworld

Displaying 4 results from an estimated 4 matches for "mingworld".

2006 Jul 22
3
Newbie: Replacing index.html in public folder
Hi, Can anyone tell me how can I achieve this: Say if I have a e-commerce site, I want to list all the products when user type in www.mysite.com Not www.mysite.com/products Please note there is no controller in the URL, how do I replace the default Rails index.html and display my products page. Hope my question makes sense. -- Best regards, Ming Ma
2006 Mar 16
1
Newbie Question on Link_to Method
Hi, How do I use link_to method to link a page to another page in a different views folder. Say I have Projects and Issues, and on projects list page, I want a hyper link ''New Issue'' to link to new issue page. /Projects/List /Issues/New How do I code in views\projects\list.rhtml to link to views\Issues\new.rhtml? this doesn''t work: <%= link_to "New
2006 Aug 06
1
Newbie: populate 2nd dropdown list based on user''s selection in 1st dropdown list
Hi, I am creating a form that a user can post a message based on his selection on category and subcategory. (A category has many subcategories.) How do I dynamically populate subcategory dropdown list when user chooses a category from category dropdown list? Thanks in advance. -- Best regards, Ming Ma
2006 Jul 23
3
Newbie: Display hierarchical Records in a view
Hi, I have two models: category and subcategory. (one to many relationship), and a controller ''home'' I''d like to display all the categories and their sub categories in the view: home\index.rhtml. I have a method in the ''home'' controller'' like this: def list_categories @categories = Category.find(:all) end This list all the categories