similar to: application helper and tri-state images

Displaying 20 results from an estimated 600 matches similar to: "application helper and tri-state images"

2006 Jan 02
3
best to integrate dynamic navbar into layout
I''ve been trying to come up with a good way to integrate a dynamic navbar into my layout. By dynamic, I meas that each link has 3 images. Normal, rollover, and dark for the current page. I have it working but it seems like there should be a better way. Here is how I did it, please let me know if there is a better way. Rails makes so many things simple, that this seems very
2004 May 24
1
Where can I find Windowz vs Samba performance Tests
I need to present some performance stats and was looking for some good diagrams of samba vs windows. -- Thanks, Jake Johnson jake@plutoid.com ______________________________________________________________________ Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices on rings, earrings, necklaces, diamonds and other fine jewelry.
2008 Dec 17
2
Help with link_to and its kin
Hi Everyone I am a new user of Ruby and Rails, and would like some help with the following problem. I have created a navbar with a styled unordered list and I would like to apply class="current" to the tab for the current page. Currently I am using a large, cumbersome and ugly if..then block, rendering the class="current" into the html and link_tos with current_page?. I am
2013 Jan 24
0
hologram
Guangzhou Lidun Hologram Co., Ltd. Home|Product|company Profile |Contacts|more DearFriends, Best Wishes For You! Wish you have a good day!We are the major manufacturer and exporter of silicone bracelets and holographic stickers with more than ten years experience in China. Also, custom bracelet and custom packing box are welcomed. Any questions or more information, please let me know.
2010 Nov 25
2
Re: The perils of GMAX
UBUNTU 10.10 AMD64 Latest updates with recompile wine 3.1.7 after an ia32.lib upgrade. Returning to looking at GMAX. As things stand now, when you try to open the materials navigator the program posts an error, allows you to do a save, and quits.
2006 Jan 04
2
Navigation Helper
I am attempting to integrate a main navigation section into my web application. Naturally the easiest and DRY way to do this would be to either include it in a layout, or as a partial. The only problem is that I want the link for the current page to have its own css id ("current"). The only way I can think to accomplish this is to just include the navigation in every page, but this is
2006 Apr 20
0
problem in "depot" app - cart contents not shown on checkout
Hi all - I''m working my way through the "depot" tutorial. I''m having a problem with the section where the cart contents are displayed on the order page. The cart contents display fine after I add an item to the cart, but simply does not show up on the order page. Any help would be appreciated. I''m running Locomotive 1.0.0c on Tiger with MySQL from
2006 Jun 23
3
Yet another problem with NoMethodError in Store#display_cart
Hi everybody, I''ve search a lot on google to help me with this one without success. I know that some people had the same problem as I have, but there solutions doesn''t seems to work for me. I''m trying to do the depot example in the AWDwR book. But now I''m stock with a problem that I can''t solve. I get this error: <--- begin error here --->
2006 Apr 18
1
''depot''app, trouble with session / cookies
Many of you probably know the ''depot'' app from the ''Agile Rails development'' book. When the view changes from ''Store'' to ''display_cart,'' a session containing the shopping-cart (:cart) is supposed maintain the ''cart'' between calls, but when the display_cart stub view shows up, I have always ZERO elements
2006 Aug 02
7
Same error ... again.
I reached page 82 of the Book "Agile Development with Rails" First Edition. After I compiled the code I got the following error message. [CODE] NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #11 raised: undefined method `product'' for 1099.0:Float 8: <table> 9: <% 10: for item in @items 11: product = item.product 12:
2006 Jul 27
2
Agile Web Development Problem
I am following that book, and I bump into this error in the Cart Creation Chapter. Can anyone help me? NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #6 raised: undefined method `product'' for 666.0:Float -- Posted via http://www.ruby-forum.com/.
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails development'' book. I have constructed the ''products'' model, the Store-controller, and the ''Cart'' and ''Line Item'' classes. I have told Application-controller about :cart and :line_item: model :cart model :line_item Here''s part of
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
Missing are capitalization/formatting of data type & function labels, as well as addressing the unit labels for the y-axis. --- src/flexchart/flexchart.mxml | 4 + src/flexchart/org/ovirt/Constants.as | 17 +++ src/flexchart/org/ovirt/charts/BarChart.as | 155 ++++++++++++++++-------- src/flexchart/org/ovirt/charts/HostChart.as | 42 ++++++-
2006 Feb 26
0
NoMethodError in Agile Web Devleopment Depot Tutorial
I''m working on building the shopping cart in the Depot tutorial in the Agile Web Development book. I''m at the part (about page 80) where you build the ability to add items to the cart. I''m able to get to /store/display_cart/ and it seems items are being added, but if I just click on a link to add an item (/store/add_to_cart/2) it gives me this: NoMethodError in
2013 Jun 12
0
debug(session) output help
Can anyone tell me how to get line breaks in the debug(session) output... application.html.erb: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= full_title(yield(:title)) %></title> <meta name="description" content="<%=
2011 Dec 30
2
CRAN link broken
The packages link on CRAN (http://cran.at.r-project.org/) seems to be broken. Paul Object not found! The requested URL was not found on this server. The link on the referring page<http://cran.at.r-project.org/navbar.html> seems to be wrong or outdated. Please inform the author of that page <http://cran.at.r-project.org/navbar.html> about the error.
2005 Sep 02
4
Error has me stumped (Agile Web Dev with Rails book)
Hello everyone, I''m a complete Rails newbie who is currently working my way through the Agile Web Dev with Rails book. I''ve reached the chapter on creating the shopping cart (chapter 8). I keep having a problem with the same error which I can''t get past, however what''s more confusing is that it''s being generated even when I swap all my app code out
2006 Aug 14
1
NoMethodError
Hello, When i test this code <h1>contenu de votre panier</h1> <table> <% for item in @items product = item.product %> <tr> <td><%= item.quantity %></td> <td><%= h(product.title)%></td> <td align="right"><%=item.unit_price %></td> <td align="right"><%=item.unit_price * item.quantity
2006 Mar 05
3
"Undefined method" problem in "Agile Web Development With Rails"
Hi, I''m reading the "Agile Web Development With Rails" book. So long, everything has worked fine, but now I got this annoying error message that I just can''t understand. The error appears for me around page 87, chapter 8. NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #28 raised: undefined method `product''
2008 Jan 13
2
access to webpage code
dear R user, I need a function that download the code of web page as html, to further parse it. something like >site="http://www.R-project.com" >code=function(site) >code !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>The R Project for Statistical Computing</title> <link rel="icon"