Displaying 20 results from an estimated 24 matches for "my_tests".
Did you mean:
my_test
2006 Mar 28
6
blank page output
Hello, I''m new to Ruby and RubyOnRails. I''m running Fedora 4 which comes
with Ruby 1.84-1. I installed rubyonrails, and I''m doing the a sample
program found on
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I ran ruby script/generate controller MyTest. I edited the file
my_test_controller.rb. Here''s the code I entered
class MyTestController
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
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
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
FYI, this turned out to be an error of omission in LLDB in SymbolFileDWARF, because the case of a non-defining external (i.e. a static member variable) wasn't being handled with a variable lookup to dig up the location. I'll put a patch together for lldb-commits,
- Ashok
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Thirumurthi, Ashok
2007 Apr 24
1
Re: Re: Symlinks deletion behaviour
Hi Jeremy,
Thanks for your response, but it doesn't work either with exactly the same symptoms:
[2007/04/24 09:52:43, 3] smbd/process.c:switch_message(926)
switch message SMBrmdir (pid 19730) conn 0x80414a30
[2007/04/24 09:52:43, 4] smbd/uid.c:change_to_user(181)
change_to_user: Skipping user change - already user
[2007/04/24 09:52:43, 5] smbd/filename.c:unix_convert(147)
unix_convert
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
2005 Dec 02
0
WEBrick access from other computer
Here''s a strange one. I''m getting into Rails and have installed Ruby and
RoR onto a Linux box for testing (Ubuntu). It all seems to work while
I''m on the linux machine. Using WEBrick I can go to the page and see my
test page.
But I want not have to sit at the linux box to play around, so I tried
accessing the WEBrick server from another system on my network and it
2003 Mar 31
0
W2K batch scripting error
Greetings all,
I am supporting Samba 2.2.8 on a Solaris 8 platform, and a user is having problems with the rmdir (or rd) command in his W2K batch scripts. The problem relates to the length of subdirectory names when using the /s flag to remove the entire directory tree. It seems that if a subdirectory name is over 12 characters in length, the rmdir command truncates to 12 characters, and then is
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
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 Apr 07
1
Testing problem
Hi all,
In Rails 1.0, why would running rake test_functional be different from
running ruby test/functional/my_tests.rb? I''ve got a set of tests that
pass fine when run individually, but fail when they''re run from rake.
Anyone else seen this? I don''t know if it''s relevant, but I''m doing ERb
template rendering in a $SAFE binding... Seems mighty odd.
--
Alex
2006 Mar 31
3
Rails with GoDaddy problem
Hopefully someone can help me with this. I''m trying to learn Ruby on
Rails and have GoDaddy as a web host. I''ve followed their help files and
taken the following steps.
I''ve made sure my plan supports Rails. I used their interface to create
the directory (test2). I then used an FTP client to upload my project
files to the directory I made. Also to clarify, this is
2006 Oct 16
1
Question regarding ''tidy'' type
Hello all,
I am trying to use the tidy type to clean up a directory that I use for
running scripts via puppet. My relevant manifest looks like:
tidy { "/root/.puppet/" :
age => ''30D'',
path => ''/root/.puppet/'',
recurse => true,
rmdirs => true,
type => atime,
}
However, when I run puppet it
2005 Aug 02
0
Debugging woes
I am trying to debug this mockup, it runs fine from the shell, but when I run it from within emacs with rubydb, I get an exception. I''ve tried this in the past, running a test from within emacs and it failed. I think it has something to do with the environment. I''m not sure how I should invoke the interpreter to give ActiveRecord access to what it needs. Currently I just call it
2010 Aug 05
18
dot-containing foldernames \HasNoChildren bug ?
Hello,
we experience problems with dovecot configuration using the listescape
plugin to allow dots
in foldernames. In some mail clients, dot-containing folders won't show
any subfolders. This seems to
be related to the fact that the \HasNoChildren flag is set on such
folders even if subfolders do exits.
Here is an example from telnet session:
* LIST (\HasNoChildren) "/"
2020 Jun 19
3
FileCheck
Sorry if I wasn't clear about my use case. In my daily dev work, I do many local "ninja check"s, or "llvm-lit" on a subdirectory as a quick(er) smoke test if I am making changes in that area (e.g. "llvm-lit ../llvm/test/CodeGen"). Nothing wrong here, as indeed nothing changed here. But in case of a test failure, I want to run just that test:
bin/llvm-lit
2020 Jun 19
2
FileCheck
> I don't know how you proceed to debug FileCheck failures, but for me most of the time I'll have to figure out which "RUN" line fail and try to execute it manually and then remove the FileCheck pipe to get the raw input and then painfully tried to match the FileCheck error to the actual input.
Yeah, not very different from what you described here. If I 'm creating or
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
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:
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