You cannot post messages because only members can post, and you are not currently a member.
Description:
Collaboration group for people using Ruby and ActiveFedora to write client applications for Fedora Commons Repositories.
|
|
|
proper way to stub Fedora connection?
|
| |
When you're writing unit tests and you want to fake your fedora connection, what's the best way to do it? Right now I have this line in some of my tests: Fedora::Repository.stubs(:inst ance).returns(stub('stub').as_ null_object) It stubs the Fedora connection just fine, but it means that later, in other tests where I want a real connection to Fedora, I'm getting a stub back instead. Can anyone tell me how to clean up after this stub statement (ActiveFedora.init doesn't work, I tried that) or else give me a better way to mock the connection and then get it back after?... more »
|
|
how do I create isMemberOf relationships between objects?
|
| |
I want to create an "isMemberOf" relationship between two objects. I'm using ActiveFedora 2.3.3 on ree 1.8.7. I'm getting the impression that this isn't possible and that I need to be working with ActiveFedora trunk in order to do this. Is that right? Thanks! Bess
|
|
creating secure connections to active-fedora?
|
| |
Hi, everyone. What's the best way to pass login and password data to active-fedora without having plain text passwords exposed? I'm concerned that I have stuff like this in my log files: I, [2011-08-11T12:58:11.658434 #70847] INFO -- : FEDORA: initializing Fedora with fedora_config: {:url=>"[link]"}... more »
|
|
best way to test that AF has connected?
|
| |
Hi, everyone. I'm incorporating AF into a ruby gem I'm writing ([link]). What's the best way to test that a fedora connection has been successfully established? Here's what I have right now: it "can accept a fedora url as an argument and intialize a connection to fedora" do... more »
|
|
-------------RubyMultipartPost
|
| |
Hi all, I recently updated the gems for my project and the ActiveFedora::Datastream.new() seems to have changed. I now get this content at the top of XML datastreams. -------------RubyMultipartPost Content-Disposition: form-data; name="file"; filename="K000913.000.xml" Content-Length: 20579 Content-Type: application/xml... more »
|
|
Console tour errors.
|
| |
I've installed fedora and solr manually as described in
[link]
but that required some fixes, like schema.xml from ActiveFedora was
broken, so I take it from jetty and all forks fine.
Also I have hudra-jetty, cloned from git repo. Fedora runs fine, but... more »
|
|
Disk images still available?
|
| |
Are the disk images referred to the the ActiveFedora tutorials still
available somewhere? I can't seem to find any active links.
[link]
All links seem to lead to [link], which is no
longer active.... more »
|
|
Possible bug in solr_service.reify_solr_result s
|
| |
Hi Matt, So, I ran into a bug when I refactored the name of one of our models today. The hitch happened when objects with the old model still existed in Fedora and were trying to be loaded through a relationship when instantiating the parent object. In reify_solr_results it tries to instantiate the object using the Model... more »
|
|
Is ActiveFedora supported on Windows?
|
| |
I asked an earlier question a few months ago regarding the install
instructions posted in 2009 for ActiveFedora on Windows. I was not
able to install following these instructions, is a Windows install
supported? It seems not, i'd just like some verification before I
spend any more time considering this a possible wrapper to Fedora.... more »
|
|
|