Displaying 8 results from an estimated 8 matches for "whens".
Did you mean:
when
2005 Apr 27
5
Eager load mysteriously deletes records
Hi
This looks like a bug in ActiveRecord.
I am messing with eager loading (on 12.1) and all of a sudden records
started disappearing from a table (and I am not doing anything delete
related)!!
The following line works OK:-
@todos = Todo.find(:all, :include => [ :whens],:order => "position ASC")
The following line is mysteriously deleteing :where rows from the DB
after retrieving them so that the 2nd time I execute the action I get an
error cos there is no expected has_one data!!
@todos = Todo.find(:all, :include => [ :whens, :where],:order =>...
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way :
config/initializers/custom_exceptions.rb
class RemoteLockerException < StandardError; end
class RemoteLockerDenied < StandardError; end
lib/instruction_request_job.rb
class InstructionRequestJob < Struct.new(:style, :request_id)
def perform
....
> connector =
2000 Jul 27
1
Network confusion
Whens the point and click GUI coming out?
All kidding aside, I seem to be confused about some of the network
settings. Essentially all I want is a secure tunnel from machine A to B
on two different physical networks, but I can't seem to get there.
Just to get things figured out I've got two ma...
2002 Sep 24
5
Floor type 0 and residues type 0 and 1
Hi,
it seems to me as if all vorbis-files only contain floors of type
1 and residues of type 2. Is it possible to "force" the encoder to
somehow create a vorbis-file with the other floor and residue types?
Tor
<p><p><p>===================================================================
EASY and FREE access to your email anywhere: http://Mailreader.com/
2007 Oct 18
12
first cut at blockless given/when/then
Hi all,
I committed a first cut at blockless Givens/Whens/Thens to RSpec''s trunk:
cd /path/to/rspec/project
svn up
cd rspec
bin/spec examples/story/calculator.rb
Take a look at examples/story/calculator.rb to see what''s going on.
Needs docs!!!!
Thoughts welcome.
I''ve also got a cut at the plain text parser checked in, but i...
2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right
now, and in fact there''s a very recent thread that discusses just
that. It was that recent thread that prompted me to explore this a
bit.
The basic idea is that you define step matchers, which have a regex,
and then you match step names against that regex. Kind of tough for
me to explain so I''ll just
2007 Sep 25
7
simple story, extract link
hi,
I just started fooling around with story runner, thought I''d start
with a dead simple scenario:
The first thing I do when describing a site to someone is go to the
home page, and begin exploring public pages from there.
So, that seems like a good first story to spec out.
And I''d really like to extract the actual link from the rendered page
(rather than just
2008 Nov 07
13
features and form filling - going declarative?
I''m working on writing features for a wizard. The wizard collects
information from a number of different forms, and you can navigate through
it in a number of ways. Anyhow one of these forms is a customer form
collecting name, and email.
In the context of the wizard I feel that the following scenarios
Scenario:
Given I step to customer
And I fill in my customer details