similar to: What? - 500 unless class Cart included

Displaying 20 results from an estimated 5000 matches similar to: "What? - 500 unless class Cart included"

2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All, I put favicon.ico under "public" folder. Also, I put a copy into "public/images". And I put these 2 lines in my layout file: <link rel="icon" href="images/favicon.ico" type="image/ico" /> <link rel="shortcut icon" href="images/favicon.ico" type="image/ico" /> It works fine in
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET 192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET /favicon.ico HTTP/1.1" 200 60 - -> /favicon.ico What does /favicon.ico (which doesnt seem to exist in my source) do for Rails? _______________________________________________ Rails mailing list
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring.. uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here... I seem to be having difficulty getting my favicon to appear. I have my favicon.ico in the public folder. I''ve configured my route.rb to route the intro page to my "home" controller. I''m using application.rb in my views to template the headers and footers. Here is the tag in my <head> in the
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello! i got this forum powered by apache and mod_rails lately when i create / edit posts, i get plain html text showing up instead of the actual page. here''s what i see: -- Content-Type: text/html; charset=utf-8 Set-Cookie: _mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL %250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2006 Feb 22
2
Using ez_where
Hi All, I am trying to pass values to ez_where to construct my conditions. I need to know how the params need to be formated for ez_where. My search class looks like this: def search @display_ad = DisplayAd.new(params[:display_ad]) cond = Caboose::EZ::Condition.new do pub_date == ''@display_ad.pub_date'' io_number =~
2009 Aug 28
4
favicon.ico and robots.txt
Hello, I'm running an apache 2.2 webserver on centos 5.3. I'm seeing frequent requests for robots.txt and favicon.ico from the logs those files should be in the document root area. What are these files, is this something the rpm installs, or do i have to retrieve or generate them? Thanks. Dave.
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"
2006 Jan 23
1
favicon.ico placement
<link rel="shortcut icon" href="/public/favicon.ico" > This causes a routing error, and the icon doesn''t load. Should I add something to my routes.rb file, or should I change the href in the above link? -- Posted via http://www.ruby-forum.com/.
2007 Jan 17
8
can i force a favicon.ico ?
lo there all, i am running two websites on one server. Both use the same code and both domains point to the same public folder. I use different logos by using a session variable called session[:domain] that i find with env_table[''HTTP_HOST''] so anyway, both need a different icon to go in the bookmarks and url, i know this is done with a favicon.ico, but can i force the server
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches thereafter noticed that WEBrick is no longer functioning? I have a machine at school that I believe to be patched with 10.4.5 but not with the latest security patch and WEBrick seems to run fine for it. However, on my machine at home I can''t get WEBrick to successfully run even freshly generated apps. For both
2011 Jan 07
5
Deployment issues
Hello, For those of you who have solved the learning hurdle of rails deployment, all I can say is congratulations! I''m struggling, frustrated that my app, which runs so well on my linux box, generates such odd errors on my vps and completely fails to do anything. For example, at the moment my production.log file has the error: ActionController::RoutingError (No route matches
2006 Apr 13
4
apache permission problems
Well i finally got CentOS 4.3 booting, apache is installed, and im trying to setup some virutal hosts, i want the main site to be my default virtual host (which i had on my gentoo server) but i keep getting permission denied errors: Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to
2006 Dec 19
1
mongrel_config has no output
I am not sure what i am doing wrong here, but no matter what i try i get no output from mongrel_config: $ mongrel_rails configtool $ telnet localhost 3001 Trying 127.0.0.1... Connected to localhost. Escape character is ''^]''. GET /config/ HTTP/1.1 HTTP/1.1 200 OK Connection: close Date: Tue, 19 Dec 2006 05:33:16 GMT Content-Type: text/html Content-Length: 0 Connection closed by
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part where i need to edit the following files that should be automatically inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I have none of these inside my public folder. Is there a reason for this? And how can i change it so they are back The only files in my public folder at present are 404.html 500.html
2006 Apr 18
4
''depot'' tutorial failing on adding to cart
Hi I''m very keen to learn RoR and have been following the Agile Web Development with Rails book (first edition). However, I''ve come across a problem which has had me stumped for days now. After following the instructions up to page 85 I have tried testing the code thus far, as suggested, by adding an item to the cart. But I am getting the following error: --
2007 Feb 07
1
The Depot "Add to Cart" sessions question (2.ed agile book)
Hello, Im in the process of working my way through the 2.ed of the agile book. As many of you already know, the book goes through the regular development cycle of the Depot application. I have hit a wall when they started talking about the sessions and the exact mechanics of how an item is added to the session. The code looks like this: depot/app/controllers/store_controller: def add_to_cart
2006 Mar 01
3
Strange Error
Hi! I''m reading the ''Agile Web Development with Rails'' book and I tried to write the depot application. But almost at the beginning everything goes wrong and my application doesn''t work. When I try to open http://localhost:3000/admin with my Firefox, a blank site comes up. This is the first mistake. And then the window of my WEBrick shows some strange
2011 Apr 23
2
Extract ip address from a kvm guest
Hi all, Somebody knows how can I extract/know an ip address used by a kvm guest using a script?? For example I have the following guests: [root at kvmsrv01 bin]# virsh list --all Id Name State ---------------------------------- 1 linclunode01 running 2 linmgmt running 5 win7desktop running I know that linclunode01 has 172.25.50.1 as
2010 Dec 19
0
favicon.ico (shortcut icon) & Internet Explorer 8 & rails
For all the poor programmers out there who have been scratching their heads ... If you do something like <link href=''/images/UltraDedup-icon-003---16x16.ico'' rel=''shortcut icon'' type=''image/x-icon'' /> and place it immediately after the in the <head> section of a webpage then you may experience the following bizarre behavior: