Displaying 11 results from an estimated 11 matches for "crafters".
Did you mean:
crafter
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
Hey all,
I posted about this yesterday to the wine NG, but I've
discovered some new info about my trouble.
I downloaded DM Genie[1] and the install works more or less
flawlessly from Wine. When I run the installed executable, though,
problems ensue. The splash screen shows up and proceeds to load a
number of modules/data, but then stops around 75% and my HDD starts
thrashing (kswapd
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 re...
1999 Oct 05
0
SAMBA digest 2259
What is this???????????????????????????????????????
> -----Original Message-----
> From: samba@samba.org [mailto:samba@samba.org]
> Sent: Tuesday, October 05, 1999 3:06 AM
> To: Bernhard Bruscha
> Subject: SAMBA digest 2259
>
>
> SAMBA Digest 2259
>
> For information on unsubscribing see http://samba.org/listproc/
> Topics covered in this issue include:
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: