search for: crafter

Displaying 11 results from an estimated 11 matches for "crafter".

Did you mean: crafted
2007 Jul 16
4
Accessing content_for html in view specs?
Hi All, Hope all is going well. I''ve got a few views that create some content using ''content_for'' blocks <% content_for :blah do %> ..... <% end %> Has anyone worked out a way to be able to access the html that''s generated inside those blocks? Since they''re not part of the view, have_tag('''') seems to miss them,
2006 Jun 14
3
In memory IndexReader bug?
...ex reader - it seems to be attempting to read from a file regardless. Here''s the simple code: require ''rubygems'' require ''ferret'' a = Ferret::Index::Index.new r = Ferret::Index::IndexReader.new(nil) Running the code on my OS X machine gives: marcus-crafters-powerbook-g4-17:/tmp crafterm$ ruby t.rb t.rb:5:in `initialize'': : Error occured at <fs_store.c>:318 (Exception) Error: exception 2 not handled: Couldn''t open the file to read from t.rb:5 The IndexReader API says pass nil in for an in memory directory, so I'...
2006 Jun 13
5
Grep style output?
Hi All, Hope all is going well. Was just wondering if anyone has implemented a grep style output page of hits using Ferret as the index/query engine? Any thoughts about how best to implement it? The previous thread discussess highlighting - would that be the best approach to follow or is there a better way? Cheers, Marcus -- Posted via http://www.ruby-forum.com/.
2007 May 04
11
spec template for CRUD?
Hello, Has anyone already come up with a set of shared behaviours that someone could leverage when adhering to a CRUD concept, with respect to controllers? Relatedly, it would be nice if there were a way to share generalized behaviour specs. -Chris
2007 Apr 17
7
rspec with CI
I am a bit of a rails and rspec noob. I am trying to use rspec in conjunction with CruiseControlrb. When I run a cruise build having spec errors, the build does not indicate a failure. I have tried to track down why this is the case, and my best guess is that the spec task is kicking off the spec via a ruby() method in rake, and that ruby method does not propagate my spec failure back to
2007 Jul 06
1
Edge, link_to and mocks
Hi All, Anyone noticed that using the newer link_to syntax in edge currently fails with mocked objects in view specs or helpers. eg. if you have something like the following in your view (or equivalent in a helper): <%= link_to @dog.name, @dog %> as opposed to the current 1.2 syntax: <%= link_to @dog.name, dog_path(@dog) %> Using a mock_model as the ''dog''
2007 Jul 26
2
rspec_resource error
First of all hi, I''m new to the list, and rather new to rspec as will probably show in myquestion. I have tried installing rspec and rspec_on_rails as plugs both using "script/install" and "piston import" commands using the "current release install instructions" here [1]. However, there doesn''t seem to be any mention of the rspec_resource
2003 Jan 10
0
Wine and DM Genie
...age after page of the relay trace that're more or less identical, though I haven't inspected the fine details of return values and addresses.) Otherwise, Wine works very well on my machine: as I said, the install goes well and I've run several other programs (Karel++, regedit, Dungeon Crafter). DM Genie does have an evaluation expiration, but I'm far from the 60 day limit. I've let the machine sit for up to an hour in this state and, as expected, nothing really progresses. I've tried this all from a fake windows disk, too, but DM Genie doesn't even get started before...
2013 May 10
0
connect from ruby 1.9 agent to 1.8 server
...the puppet agent to use SSLv3 only? When I try to connect from an agent using Ruby 1.9 to a Master using Ruby 1.8 I get this error: Error: Failed to apply catalog: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: (null) This seems to be due to this issue: https://github.com/crafters/cielo/issues/4 Also the openssl tests confirm that: >openssl s_client -connect puppetmaster.com:8140 -ssl2 CONNECTED(00000003) 8192098:error:1407F0E5:SSL routines:SSL2_WRITE:ssl handshake failure:s2_pkt.c:428: When using -ssl3 it works. Any help much appreciated Thanks Stephan -- You r...
1999 Oct 05
0
SAMBA digest 2259
...> Evil Hacker. > > > ------------------------------ > > Date: Mon, 4 Oct 1999 01:42:36 -0700 (PDT) > From: vectro@pipeline.com > To: samba@samba.org > Subject: slowness with smbclient's TAR mode > Message-ID: <Pine.LNX.4.10.9910040140350.27490-100000@crafter.house> > MIME-Version: 1.0 > Content-Type: TEXT/PLAIN; charset=US-ASCII > > I noticed this mentionned in the archives but the issue was never > resolved. > > Evidently performing smbclient tar restores is excruciatingly slow. I > noticed this while trying to restore my...
2006 Jul 17
0
Draft port of lucene highlighter to ferret
Hi All, Hope all is going well. After being knocked out with the flu for a week I''ve been able to make some progress with porting the lucene highlighter to ferret. I''ve got a draft version available for perusal at: http://crafterm.net/ruby/highlighter/highlighter-ruby-0.1.tar.gz The port is pretty much a complete copy of the Java version at: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/highlighter/ The highlighter_test.rb file includes a few of the test cases from the original lucene test case. 3 of the 7 test...