search for: blee

Displaying 18 results from an estimated 18 matches for "blee".

Did you mean: bee
2006 Oct 11
6
Indexing problem 10.9/10.10
...e index. Eg. 290k -- when the indexer process has already gone through 1 M. Additionally, if I search, I don''t get results past an even smaller number of docs (22k) . I''ve tried the two latest ferret releases. Does this listing of the index directory look right? -rw------- 1 blee blee 3.8M Oct 10 17:06 _v.fdt -rw------- 1 blee blee 51K Oct 10 17:06 _v.fdx -rw------- 1 blee blee 12M Oct 10 16:49 _u.cfs -rw------- 1 blee blee 97 Oct 10 16:49 fields -rw------- 1 blee blee 78 Oct 10 16:49 segments -rw------- 1 blee blee 11M Oct 10 16:23 _t.cfs -rw------- 1 blee bl...
2007 Sep 04
5
Xml templates...
I was looking in using an xml_builder template to do something like: blee.xerb xml.blees do <% for blee in @blees %> xml.blee = blee.name <% end %> end It looks like the xml_builder template can''t expand the erb tag. It this not the correct way to expand and xml template ? Thanks ! -------------- next part -------------- An HTML attachme...
2007 Jan 03
2
Using helpers...
All, I am getting an undefined method exception while trying to use a helper method in a xerb file. I am running version 0.0.8 module Merb module FredHelper def blee( args ) .... end end end In the xerb template I have xml.bobo blee( args ) At runtime I am getting undefined method ''blee'' I tryied moving blee to global_helper as well but no dice.... What am I missing ? Regards, Fernand ----...
2013 Jan 17
3
How do I manage puppet.conf? Let me count the ways.
...include statement. imagine: # puppet.conf [main] logdir = /var/log/puppet rundir = /var/run/puppet confdir = /etc/puppet environment = test include $confdir/conf.d/main/* [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig ca_server = puppet.blee.edu server = puppet.blee.edu include $confdir/conf.d/agent/* [master] ca_server = puppet.blee.edu server = puppet.blee.edu include = $confdir/conf.d/master/* include $confdir/conf.d/environments/* # end puppet.conf ls -1 /etc/puppet/conf.d/master dashboard puppetdb reports st...
2007 Jan 12
5
Rails session parasite...
All, I see this item on the merb-0.0.8 release notes Added rails session parasite mode. I am assuming merbs can piggy back off the rails current session. How does one achieve that ? Thanks Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070112/0803f46e/attachment.html
2006 Jan 22
3
Balancing relevancy and recentness
I was wondering if there was a good way to either balance the relevancy score with recentness of matching documents- or include the recentness in the score somehow? Thanks, Ben -- Posted via http://www.ruby-forum.com/.
2007 Sep 04
1
Couple of questions for Merb 0.4
...seem to get picked up on new requests. Also say I have a controller that needs to render an alternate xml format ie something like: respond_to do |fmt| fmt.xml => { render :xml => true, :action => ''fred'' } end where in fred.xerb I have xml.blee do xml.fred some_val ... end When I tried to run the following code I am getting a merb error on engine.transform where engine is nil ? undefined method `transform'' for nil:NilClass - (NoMethodError) /usr/local/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/mixins/ render.rb:15...
2008 Jan 23
0
Action caching...
All, I am running Merb 0.5.0. Is there a way to specify an expiration time on an action cache, besides physically calling expire_action ? I have been looking at the code and I was not able to find support for that Something like cache_action( :fred => 30*60, :blee => 60*60 ) would expire fred in 30 min and blee in 1 hour... Any tips on how to achieve that ? Thanks, Fernand -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20080123/2786534b/attachment.html
2007 Sep 07
1
Rails + require returns ??
All, I have a rails controller that is requiring a ruby file ie res = require ''blee'' p res.inspect # <= [] ?? class FredController < ApplicationController .... end Printing the return value of the require, I was expecting to see true or false whether the required ruby file was previously loaded or not. Instead it seems to always return an arr...
2010 Nov 27
1
Bug in parseNamespaceFile or switch( , ... ) ?
...e directive: %s", deparse(e)), call. = FALSE, domain = NA)) but this doesn't seem to function as I expect, viz. to stop with an error if I type a wrong directive. Details: > # create dummy NAMESPACE file with two bad / one good directives > cat("blah( nada )\nblee( nil )\nexport( outDS )\n",file="NAMESPACE") > readLines("NAMESPACE") [1] "blah( nada )" "blee( nil )" "export( outDS )" > parseNamespaceFile("",".") # now parse it $imports list() $exports [1] "outDS&quot...
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to the right exception controller action but the exception p...
2006 Sep 14
10
scriptaculous Toggle Appear rate
I have the following code to toggle a basic appear of a div: <a href="#" onclick="Effect.toggle(''d3'',''appear''); return false;">Toggle appear</a> I want to edit the rate in which the effect runs. I can''t for the life of me figure it out. I would like to make the effect complete faster, like .5 seconds. I''ve
2006 Jan 03
1
find_by datetime question
Hi, I was wondering if any of you Rails/SQL ninjas knew of an elegant way to grab from activerecord all the rows that are within an interval of the current time (say in the last week). For instance, if there''s the created_on datetime column, is there a zippy way to use find() without SQL? It seems like the Ruby DateTime object doesn''t really do intervals for numerous
2009 Sep 15
1
Detecting Transfer
Is there a way to detect if a call is a transfer in the dialplan? Here is my issue: I have an office with 2 extensions. Under normal circumstances any call that comes in should ring both extensions. I accomplish this through a queue. The problem is that if the call is answered on say extension 11 and the answerer wants to transfer the call to the other phone, extension 10, transferring
2006 Jan 05
0
Subdomains - redirect to different actions?
Hey, I''m trying to figure out what the most elegant way to do this - I''ve only got a small amount of different subdomains corresponding to categories - and I''ve been using fragment caching. In particular, I was wondering what the best way to call these actions is - I''m thinking redirect and render_component aren''t really very nice
2006 Jan 13
1
page caching - rewrite rules/ trailing slash question
Hi, I was wondering if anyone has run into this issue in which trailing slashes are triggering the controller/action instead of serving the cached page in the public/ directory. For example www.myhost.com/controller/action - will serve up public/controller/action.html but www.myhost.com/controller/action/ - will run the action again. I''m quite newbie with the entire Apache
2006 Jun 07
1
Acts_as_ferret - phrase query
Sorry if this is another basic question, I was wondering if anyone could point me to an example (or provide) one of using acts_as_ferret with a more complicated query? My understanding is that by default, if I pass a string to find_by_contents, it''s an AND''d keyword query. In particular, I''m interested in phrase queries. Thanks, Ben -- Posted via
2006 Apr 30
2
HABTM: Find sorted by number of associations
Hi, I''ve been googling and searching the forums for some time but can''t seem to find exactly what I''m looking for. Suppose User HABTM Products (for example a favorites list). I would like to construct a single query for finding Products ordered by the number of Users that have flagged them as favorites. Although I can construct the query using SQL a with a