Hi Braves there, 1) Could someone please provide the code for creating menus? 2) How could I get the list of all tables (MySQL)? Thanks much. Jeff Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060211/96bc689f/attachment.html
On Sat, 2006-02-11 at 14:45 +1300, jeff thompson wrote:> Hi Braves there, > > 1) Could someone please provide the code for creating menus? > 2) How could I get the list of all tables (MySQL)? >---- these don''t seem like rails questions at all... 1 - Menus are HTML or maybe HTML in combination with things like javascript. 2 - command line... # mysql cookbook -u craig -p Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 53 to server version: 4.1.16 Type ''help;'' or ''\h'' for help. Type ''\c'' to clear the buffer. mysql> show tables; +--------------------+ | Tables_in_cookbook | +--------------------+ | categories | | recipes | +--------------------+ 2 rows in set (0.01 sec) Craig
Ques.2: what''d be the code in ruby? to get the list of db tables. Thanks. Craig White <craigwhite@azapple.com> wrote: On Sat, 2006-02-11 at 14:45 +1300, jeff thompson wrote:> Hi Braves there, > > 1) Could someone please provide the code for creating menus? > 2) How could I get the list of all tables (MySQL)? >---- these don''t seem like rails questions at all... 1 - Menus are HTML or maybe HTML in combination with things like javascript. 2 - command line... # mysql cookbook -u craig -p Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 53 to server version: 4.1.16 Type ''help;'' or ''\h'' for help. Type ''\c'' to clear the buffer. mysql> show tables; +--------------------+ | Tables_in_cookbook | +--------------------+ | categories | | recipes | +--------------------+ 2 rows in set (0.01 sec) Craig _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails Send instant messages to your online friends http://au.messenger.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060211/3c3ac043/attachment.html