Displaying 20 results from an estimated 21 matches for "weibel".
2007 May 03
7
How to create a drop-down list with Markaby?
Hi
I couldn''t figure out, how to create a drop-down list with Markaby. How
would I create something like this:
<select name="character">
<option value="marvin">Marvin the paranoid Android</option>
<option value="arthur">Arthur Dent</option>
<option value="zaphod">Zaphod
2007 Apr 19
4
Save sessions on file system instead of database table?
Hi
Is there a way to save session data on the file system (like in Rails)
instead of a database table?
The reason I''m asking is, that I''m writing a Camping application without
using ActiveRecord (mostly for learning purposes) and I don''t want to
use ActiveRecord just for sessions.
Thanks,
Thomas
-------------- next part --------------
A non-text attachment was
2002 Jun 07
1
filter data frames
...tart","tend"))
where 'valid' is a logical vector of valid rows.
Is there a way to filter a data frame without making a vector of
the columns, thus losing the column names?
Okay, perhaps I'm greedy. It's already working, what am I complaining
about?
--
Christophe Weibel
_________________________
christophe.weibel at epfl.ch
Phone: +41 21 312-3525
Prof: +41 21 69-34244
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help&qu...
2006 Apr 28
5
Ferret failing to rebuild_index - occasionally unable to del
I''m switching all my fulltext searching over to ferret using the
acts_as_ferret plugin on windows (for development, will be deployed on
linux).
In my tests I have a setup method as follows to ensure the index is
reset for each test:
def setup
Item.rebuild_index
end
This works fine for the initial few tests but then suddenly fails for
the last few tests when it seems to be failing
2006 Apr 13
10
Typo and acts_as_ferret rebuild_index errror
Hi, I''m running the edge Typo and the latest acts_as_ferret plugin and
ferret gems (as of 11 April).
In my Content model I put acts_as_ferret :fields => [:title, :body]
In the console, I call Content.rebuild_index to index all of my existing
content. All the directories get created etc, but I get the following
error back:
Loading development environment.
>>
2006 Apr 19
3
Useful article for anyone programming for paid client work
We''re working on a new series of applications called "RealApps" - simple
plugins and components add functionality to Rails applications. We just
posted an article describing the first one - a content management system.
We also go into the business case behind the design we chose. Good stuff for
programmers to know - especially if you are doing paid client work. It
2006 May 17
5
BBC
Thought some of you guys might like to know that that it looks like the
BBC are trialing Rails. I got a DB error when trying to connect to their
prototype cataloging system the other day.
http://www.flickr.com/photo_zoom.gne?id=136006235&size=o
Sorry if this is old news.
--
Posted via http://www.ruby-forum.com/.
2007 May 16
7
return ONLY total_hits without querying from real database
Hey guys,
I know I can run search(q).total_hits, but if I try to put :limit=>0 it
gives me an error. I don''t want it actually query any of the results, I
just want it to tell me how many total_hits I would have if I wanted to
search it.
How can I do this?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
5
Swedish characters problem
Hello,
I''m playing around with Rails and I''m having problems with displaying
swedish characters. This is how far I''ve gotten:
I have a controller...
class MiscController < ApplicationController
def swedish_chars
@chars_to_display = ''???''
end
end
...and a template (swedish_chars.rhtml)
<head>
<title>Test with swedish
2008 Feb 05
3
ZFS hang and boot hang when iSCSI device removed
We''re currently evaluating ZFS prior to (hopefully) rolling it out across our server room, and have managed to lock up a server after connecting to an iSCSI target, and then changing the IP address of the target.
Basically we have two test Solaris servers running, and I followed the instructions on the post below to share a zpool on Server1 using the iSCSI Target, and then import that
2006 Mar 13
2
opensolaris dtrace page has bad link to dtrace documentation
The open solaris dtrace page (http://www.opensolaris.org/os/community/dtrace/) has a bad link to the DTrace Guide(http://docs.sun.com/db/doc/817-6223).
This message posted from opensolaris.org
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello,
I''ve installed the Ferret gem and also got the act_as_ferret code from
the wiki.
I''ve set up my model "Branch" to act as ferret using the code below.
acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']}
I''ve also set up a ferret_controller with the code below
def find
2005 Dec 31
2
Some newbie questions
Hi all,
I''m newly discovering Ferret, and just did a crash course on Lucene to
(I get the concepts behind it). But I''m have a few doubts:
1. What is the ''recommended'' way of integrating Ferret into my app now?
The gem version or the plugin?
2. Where do I checkout the plugin from? Do I just copy the version on
the wiki?
Those apart, Ferret is really
2007 Aug 23
7
custom sort routine
is it possible to write a custom sort routine for ferret?
I use ferret right now to index all my products. One of the variables
in these product documents is the product popularity, where 1 = best
selling production, 2 = 2nd best, etc..
Right now, I''m just sorting by the popularity column in my search
results, although this doesn''t always provide "good" results,
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2006 Jul 14
14
[URGENT] Need help getting rails app back up desperately
I''m desperate. A few hours ago I was checking my server because we are
running a survey for a new client and everything looked good for that
app but I noticed another Rails app was quite large (twice as normal)
so I decided it was time for a restart. Big mistake. Upon restart the
application gave me a 500 error. Checking the logs I found a stack
level too deep error that after hours I
2006 Apr 05
5
duplicate search results
i''m using Ferret 0.9.0 with acts_as_ferret (the one from svn.jkraemer.net), and
i''m getting duplicate results, as described in this thread:
http://rubyforge.org/pipermail/ferret-talk/2005-December/000048.html
is there a way to configure the indexes created by acts_as_ferret to use :key =>
:id, as described in that thread? i''ve poked around in the code, and had
2006 Feb 10
36
Advocating RoR in the enterprise?
Hi folks,
I''m looking for advice on how to promote RoR in my workplace.
Specifically, I''d like to work out a strategy for promoting
development in Rails as a new alternative to our existing technology
(the usual suspects... mostly Java/Oracle, .NET, PHP, and a bit of
Perl here and there).
Some background: I work for a fairly large state environmental agency
as a web developer.
2006 Jan 25
0
acts_as_ferret now under MIT license
Hi all
After reading one of DHH''s recent posts, I realized that it''s important
to release even small pieces of software under a license. As the author
of the first incarnation of acts_as_ferret I felt the need to put it
under a licensing scheme. MIT was chosen, as suggested by DHH. It''s now
included in the source listing on the ferret wiki.