Displaying 8 results from an estimated 8 matches for "jerebic".
Did you mean:
heretic
2007 Dec 17
3
are index files cross-platform?
Hello!
I am trying to read Ferret index files from Windows machine on my Mac
G5 Leopard machine, but the following returns nil:
Ferret::Index::IndexReader.new( index_paths )
Should this work? Are index files guaranteed to be platform
independent or not? Is there any problem if files (top direectory)
are renamed?
izidor
P.S. I can create the index myself and then everything works.
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
...ss than 1.3. Instead of
original condition I propose this one:
if @request.xhr? and @request.env[''HTTP_USER_AGENT''] =~ /
AppleWebKit\/(\d+)/ and $1.to_i < 312
Julian, if you want to include these solutions into your plugin, feel
free to do so....
Regards,
Izidor Jerebic
2006 Apr 27
3
Books, other resources for new Rails VPS sysadmin
Hello!
Since Virtual Private Server seems to be the only way to run Rails
apps without problems, so in the future I will need to become a Linux
sysadmin.
I plan on using debian (as per Ezra''s instructions in <http://
brainspl.at/pages/perfect_vps>).
Rails VPS sysadmin is not the same as general Linux sysadmin, since
only webserver, db and email are of interest (and of
2005 Dec 16
13
How to pass a collection to paginate?
There must be a better way to write this code:
@project_pages, @projects= paginate :project,
:per_page => 10,
:conditions => ["account_id = ?", account]
?!
If only I could pass the sub-collection
account = ...
@projects = account.project
to paginate, instead of letting it extract it with a find :all + sql
conditions
Alain.
--
Posted via
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers,
For some time now I''ve been looking for a decent Rails equivalent of PHP''s
"htmlentities" command, because ERB''s html_escape (or more commonly called as
just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me.
Back in PHP land, I actually had an extended version of the htmlentities
command to deal with
2006 Apr 09
16
Mapping to BigDecimals instead of Floats
Hi everyone,
I''m new to Rails and Ruby, and have been working my way through the Pickaxe
and Agile Rails books for the last week or so. With a background in payroll
apps I found that the default ActiveRecord mapping of decimal columns to
float variables really bothered me! Financial calcs need high levels of
accuracy and floats just don''t give you that.
I know there are a bunch
2005 Dec 11
62
PROPOSAL: The list needs to fork (desperately).
I''d like to propsoe that the RubyOnRails mailing list forks into three
lists.
PROBLEM:
* The list is getting swamped with traffic, making it hard to use and
even harder to follow.
* Many, many messages get lost, with no reply.
* Due to the overwhelming traffic, it''s hard for beginners to get the
help that they need, since their messages get lost in the shuffle, and
2008 May 09
0
doing a join between two ferret indexes?
Hello, everybody,
we have a situation where there are two sets of information about
documents - slow changing and fast changing properties. We index
documents by slow changing properties (content) using Ferret directly,
and it works rather well. But now we would like to filter the searches
by a fast-changing property, that is calculated separately, e.g.
"isBookAvailable".
The