search for: show_book

Displaying 2 results from an estimated 2 matches for "show_book".

2006 Jan 06
2
beginner: help using <select> drop down list
Hi, first time posting here. I''m in the process of learning ruby and the rails framework and i''ve come to a road block. I started off by using the Onlamp tutorial online and got a test database and all of the generated scaffold pages. I am currently working on a drop down box using the select tag. I figured out how to get values from a ''name'' column in my
2006 Aug 01
1
Newbie help re: "dynamic" navigation menu
...le 2 ... with the main page area showing a single book or CD info based on what was selected in the menu. The titles in the menu would be generated on the fly by doing d/b finds from books and CDs tables. The links on the titles would go to the store controller, with actions like ''show_book'' for books and ''show_cd'' for CDs. What I am concerned about is wouldn''t each of these methods need to set instance vars for the collections of book and CD titles each time, so the main store view can render the menu? This seems to go against the DRY principl...