similar to: blank page output

Displaying 20 results from an estimated 7000 matches similar to: "blank page output"

2005 Jun 23
6
Problems with Hello World
Hello, I''m installed RubyOnRails in my Fedora Core 4 system. I''ve created an empty web application with: rails cookbook then a controller ruby script/generate controller MyTest And a file named my_test_controller.rb was created at cookbook/app/controller directory. I ''ve written a new method for MyTestController class like: def index render_text "Hello
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out how to have this message disappear. I was reading a tutorial and based on it, when I type in http://localhost:3000/MyTest/ it should say whatever I have written down on my my_test_controller.rb file. I first ran: ruby script\generate controller MyTest then I edited the my_test_controller.rb file It currently says:
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text "Dilbert
2006 Jan 13
6
rails bug ? metadata lost between page invocation ?
Ok, so I posted this on the ''ruby on rails'' newsgroup (http://groups.google.com/group/rubyonrails/browse_frm/thread/cfce770d3fbfbd1f/a51aad47e46e2adf#a51aad47e46e2adf) but didn''t get very far. Hopefully this community will be able to help or let me know whether this is a genuine rails bug. This is a lengthy post, but please bear with me. So, I am trying to cache
2008 Apr 18
1
rails for dummies
Hellos all, I''m new to this so I have one really stupid question. When I make my website is the whole thing going to be encoded in my_test_controller.rb if I do ''ruby script\generate controller MyTest'' as "ONLamp" says to do? http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2 Cheers, Paul --~--~---------~--~----~------------~-------~--~----~
2006 Oct 09
1
Login to domain.
I'm running Centos 4.2, with 3.0.23b-SerNet-RedHat as a NT 4 Domain. My Window XP machine logs in perfectly well to the domain. I have another machine running Opensuse 10.2 which I joined to the domain with no problems. using opensuse, I'm unable to loging to the domain. I get the message xserver: login (domain\user) is disabled. On the server samba.conf the shell is set to template shell
2005 Dec 15
11
CGI Module in Rails
I''m trying to use the CGI module to generate the html in a view but am having trouble. My controller looks like: class MyTestController < ApplicationController def cgitest require ''cgi'' @cgi=CGI.new("html3") end end My cgitest.rhtml view document simply has: <%= @cgi.out{@cgi.html{@cgi.head{}}} %> Loading MyTest/cgitest, Rails tells me that
2005 Dec 16
25
I Would Really Like to Try RoR but...
it''s been a nightmare trying to set it up. I keep getting a an Application Error message when I try to navigate to a url which should be taken care of by my newly created controllers. For instance, I wanted to test RoR out so I created a MyTest controller which should allow me to navigate something like: http://localhost/rubytest/MyTest but it does not. I have no problem getting
2004 May 22
1
getent ??
I've installed Fedora Core 2 from scratch, got my DNS and VNC to work, next is Samba. I was running previously SAMBA 2.28a but now I'm working with 3.04. I've since bought Samba-3 by Example, and I'm following it fairly closely. I've got samba to work with no shares yet, I've run initgrps.sh to create my Domain Groups. Winbind is working. I do a getent groups and this is
2006 Mar 29
3
socket for mysql
I have mysql running on a different machine. I''ve editted database.yml, here''s the entry development: adapter: mysql database: cookbook username: root password: mypassword host: posta.rmasonfamily.info test: adapter: mysql database: cookbook username: root password: mypassword host: posta.rmasonfamily.info production: adapter: mysql database: cookbook
2006 Jul 10
2
''uninitialized constant'' error
Hi All, I am fairly new to Ruby and backgroundRB. I am trying to run a simple example in Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app. In ''MyTest'' Controller ------------------- def longrun session[:job_key] = MiddleMan.new_worker(:class =>
2006 Aug 08
1
recognation failed - ?!
Hi there, When I was making examples form "Rolling with Ruby on Rails" ( http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html ) , after generating controller MyTest, the WEBrick server ( localhost:3000 ) reported an error: recognation failed /MyTest The WEBrick server was started form correct directory, what else can crush in that way ? Cheers. -- Posted via
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX. BY THE FOLLOWING WAYl: Install FastCGI 1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz 2. gunzip fcgi-2.4.0.tar.gz 3. tar -xvf fcgi-2.4.0.tar 4. cd fcgi-2.4.0 5. ./configure 6. make 7. make install 8. cd ../ Install mod_fcgid 1. cd ~ 2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz 3. gunzip
2006 Jan 13
5
ads_connect: Program lacks support for encryption type
I'm trying to setup here at my school board an ADS domain member to Windows 2000 Server(s). I've setup Samba, configured nsswitch and /etc/krb5.conf. I'll be including them on this post. When I run << net join ADS -U<administrative_user>, I'm prompted for the password and I get this error message: [2006/01/12 15:21:35, 0] utils/net_ads.c:ads_startup(191)
2006 May 04
6
second assert_tag failling in rails integration test
Hi all, I''m fairly new to rails and ruby, but I''ve come across an interesting glitch and I''m not sure whether I''ve just got something wrong with my assumptions or if it really is an error in the underlying framework... I''ve created a bare-bones set of tests to show you where the problem is. What follows are the steps I went through to reproduce the
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello, I''m having a serious problem proxying from Apache (2.2) to local Lighttpd servers. I need this to run Rails instances on www.mysite.com/rails next to the regular part from www.mysite.com. Currently I get a working www.mysite.com/rails for only the first page, controllers do not work. I am quite desperate in getting this to work as it is the only way I can run Rails at our
2006 Jul 30
8
Method_missing from Ruby for Rails book
I''m having a problem getting this example from the book to work: class Cookbook attr_accessor :title, :author def initialize @recipes = [] end def method_missing(m, *args, &block) @recipes.send(m, *args, &block) end end cb = Cookbook.new cb << recipe_for_cake cb << recipe_for_chicken beef_dishes = cb.find_all {|recipes| recipe.main_ingredient ==
2006 Jun 14
2
How to do routing ?
Hi folks, I am working in Fedora Core 2 Linux, and using Apache 2.0 and mod_fastcgi, as per mentioned in the following link, to support Rails. http://wiki.rubyonrails.org/rails/pages/RailsOnFedora I had created virtual host and specified the path to my application''s /var/www/html/myapp/public/ directory as a value for DocumentRoot directives. Now what is happening is that, my
2006 Apr 13
1
Several anomalies - Samba ADS member computer
We've setup PC (700 MHz - 512 megs memory) running Samba - 3.0.21c as a test machine. We've successfully joined the machine to our Active directory using net join ADS... I'm able to create the shares, and access them. I've notice the following. 1. When I run getent passwd and getent group, I get just the local passwd and group info, nothing from the domain and no error message.
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
So, when performing expression evaluation, lldb trips over an assert in clang/lib/AST/RecordLayoutBuilder because ExternalFieldOffsets doesn't contain a FieldDecl that updateExternalFieldOffset expected. I found that the assert occurs when both static and non-static member variables are present. For instance, with the following, the lldb command 'expr my_test.length()' does not