Displaying 20 results from an estimated 7000 matches similar to: "How do you do functional tests?"
2006 Aug 03
5
Database configuration across developers!
Hi,
I have what might be a silly question but is there any way to put some
of the database configuration information into a separate file? For
instance, in config/database.yml I have:
developer_database: &developer_database
adapter: mysql
username: me
password: something
host: 127.0.0.1
development:
<<: *developer_database
database: foobar_development
test:
<<:
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups,
thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2006 May 03
2
How do you use the ''vendor'' directory with 3rd party libraries?
Hi,
I''m wondering how to use the ''vendor'' directory in a Rails app. I
know that you can put plugins and engines into the ''vendor/plugins''
directory and that svn:externals can be used for that, but I was
wondering how & where I put a 3rd party library? My specific case is
the pdf-writer code, which I''d rather have inside my app than as a
2006 Jul 29
3
Engines question
I would like to get at all models in a rails application to be able to
add a field to every one of them as part of a migration. Something
like the following:
Appmodels.each { |x| add_column x.table_name.to_s, :foo, :text }
I understand I can get the table name using
ActiveRecord::Base#table_name, but how do I get all the models into an
array that I can use in the above manner?
--
Cheers,
Hasan
2006 May 22
3
ssize_t not defined in sockconn.c (PR#8889)
Problem:
Build of R failed when compiling sockconn.c. The problem seemed to be
that ssize_t was not defined.
The following change in sock.h fixes the problem, though it's probably
not fixed the _right_ way.
/* Following line changed by WTR (Cira) to overcome make problem.
#if defined Win32 && !defined _SSIZE_T_
typedef int ssize_t;
#endif
*/
typedef int ssize_t;
Thanks!
Wade
2010 Jun 08
1
add one point to contourplot()
Hi All,
I want to add one point to contourplot(). I used contourplot() in my code like
contourplot(z ~ a + b |c, data)
I understand there is plot.axes argument for filled.contour(), but it did not work for my code. I also tried plot() and text() for contourplot(), but got this error: "plot.new has not been called yet"
Any suggestion for adding a point in contourplot()?
Thank you very
2017 Feb 03
3
Clang 5.0 support for armv8 64 bit with neon and auto vectorization
Hi there,
I am Software product developer at Robert Bosch, Germany.
We are using armv8 64bit targets for our development. We have the need to do the cross compiling for our target on windows. I have compiled clang 5.0 from the vcs git. I have tried compiling the code with following options set:
clang.exe -target armv8 -fslp-vectorize-aggressive -mfpu=neon -mfloat-abi=hard -c test.cpp
As you
2006 Jan 14
2
change lattice panel background color
I can't find a way to change just the panel background color in lattice.
I would like NA regions in levelplot() to appear black. I've tried the
trellis.par.set() stuff, but it it makes the background of the whole
graphic black.
Thanks,
Scott Waichler
Pacific Northwest National Laboratory
scott.waichler _at _ pnl.gov
2005 Mar 12
1
FW: Watir needs a Win32GUI library
Anyone need something to do? :)
Dan
-----Original Message-----
From: Bret Pettichord [mailto:bret@pettichord.com]
Sent: Saturday, March 12, 2005 8:25 AM
To: ruby-talk ML
Cc: wtr-general@rubyforge.org
Subject: Watir needs a Win32GUI library
We''ve seen growing enthusiasm for Watir, a web-testing library that is
good
enough that it is convincing people to learn Ruby just so that they
2008 Jul 22
2
can''t execute a build - on windows + jruby
Hi all,
Am trying to get cc.rb working on a windows machine, running under JRuby.
I patched line 19 of project_migration.rb to use jruby, instead of ruby.
execute "jruby #{File.join(migrate_scripts_directory, script)} #{@data_dir}"
The add project works fine, but when I run start, the webpage just
hangs on the ajax request to build - never actually executes the build
at all, or comes
2006 Apr 04
1
Houston Ruby/RoR Meetup 8 April
The Houston Ruby/RoR group is getting together for discussion, food, and
more food on Saturday 8 April at Pantera, a Houston restaurant with good
food and free internet access :-). If you are in town and feel like
joining us, we''ll be getting started around 4:00PM. This time round I
will be doing a brief overview / demo of Watir, the ruby web testing
tool (http://wtr.rubyforge.org/).
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
Calgary Ruby Users Society (otherwise known as Association of Anonymous
Java Programmers, Calgary branch) had it''s first meeting today. After a
round of introductions, we discussed our interests and brainstormed
possible activities for the group. Paul Rogers did a presentation on
Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but
also a way to sneak Ruby into your
2006 May 05
2
Dumb polymorphic association question
Hi,
Why is it that polymorphic associations only work with the :has_many
and :belongs_to relationships? Why can''t it be a :has_one?
Matt
2007 Apr 12
2
Watir on firefox
Hello is there any way through which we can run watir on forfox if so
please reply me with example
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Jan 28
1
R for CGI
Dear R Users;
Perl is the common language to write CGI scripts which
handle Forms. My question is that can R be as fast as
perl
to do the same job(with using CGIwithR package). Is it
an optimal solution to connect R directly to a
commercial HTML webpages,
Sincerely,
Sean
2014 Jan 06
1
Bug#733865: Bug#733865: xen-utils-4.3: qemu-dm is not executable: No such file or directory
On 01/02/2014 11:56 AM, Ian Campbell wrote:
> You can select a non-default model use by using the
> "device_model_version" directive in your config.
From what I gather, for now, you MUST select a non-default model, using
something like:
device_model_version="qemu-xen"
device_model_override="/usr/bin/qemu-system-x86_64"
> In the context of Debian the
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a
window) and save to a file.
I have this, but I have no idea where it came from, but it gives a
corrupted image
Paul
# -*- ruby -*-
# screen capture --
# This script runs with a Ruby/DL which is included in ruby-1.7.
require ''dl/import''
module ScreenCapture
extend DL::Importable
dlload
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/test/functional/host_controller_test.rb | 41 --------------------
.../functional/managed_node_configuration_test.rb | 14 ++++---
src/test/functional/nic_controller_test.rb | 8 ----
src/test/functional/permission_controller_test.rb | 15 ++++---
src/test/functional/quota_controller_test.rb | 2 +-
2017 Apr 10
14
RESEND Preparations for Fermi DRAM clock changes
Two patches went missing as a result of PEBCAK. No v2 marks as nothing
changed really. Just resending for easier enforcement of patch order
in other people's trees. Sorry for the noise.
Original message:
No, no, these will not implement Fermi reclocking. This set of patches
contains some of the preparatory work that I deem stable enough to
move upstream. Notable changes
- Training pattern
2012 May 24
0
Ruby on Rails Tutorial Chapter 6 RSpec tests failing
Hello all:
I''m a RoR newbie who is currently following the Ruby on Rails
Tutorial: Learning by Example book (http://ruby.railstutorial.org/
chapters/modeling-users#sec:adding_a_secure_password). The following
Chapter 6 RSpec tests are failing:
Failures:
1) User [31mFailure/Error:[0m [31mit { should be_valid }[0m
[31mexpected valid? to return true, got false[0m [36m # ./spec/models/