Displaying 20 results from an estimated 500 matches similar to: "[GLOBALIZE] Trouble getting example on wiki working"
2007 Jan 17
5
[ActsAsFerret] Globalize integration
Hi,
I''ve modified the latest acts_as_ferret code (version 0.3.0) to
integrate with the Globalize (http://www.globalize-rails.org/globalize/)
plugin.
Essentially, I''ve added the ability to use a separate index per locale
(It basically adds the language code as a suffix to the index and
switches between indexes when the active locale changes).
Since this introduces an optional
2007 Apr 04
1
Password required for dejavu repo
Since this morning, the server at http://svn.devjavu.com/backgroundrb
is requiring authorized access.
Could you guys look into it?
Thanks,
Saimon
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore
2008 Jan 24
11
#17446 [PATCH] Add option to mongrel_rails to force mongrel not to serve static files
Hi all,
I''ve just added a patch that I''d appreciate some feedback on:
http://rubyforge.org/tracker/index.php?func=detail&aid=17446&group_id=1306&atid=5147
Regards,
Saimon
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore
-------------- next
2007 Jun 06
4
globalize+acts_as_ferret
Hey all,
I''m using acts_as_ferret and globalize. I stumbled upon that post on google:
http://osdir.com/ml/lang.ruby.ferret.general/2007-01/msg00068.html
does anybody know if it''s included in the latest a_a_f or if it''s
planed to be? I can''t seem to find anything about it.
thanx in advance
Pat
2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
I create a simple engine with a simple controller:
class FredController < ApplicationController
def hello
render :text => ''Hello, world!''
end
end
and I create a simple functional test within the engine:
class FredControllerTest < Test::Unit::TestCase
...
def test_hello
get :hello
assert_response :success
end
2006 Mar 22
0
Lighttpd aliased does not render css or images - please help!
Hello all,
I''m very badly in need of help here. I''m sooo close to this solution, and I
WILL be blogging this when I finally have it working.
I''m using Lighttpd + Mongrel + aliased app. I have the basic alias
working. http://localhost/myapp/ renders the routed :controller/:action as
does http//localhost/myapp/controller/action for production pages.
The page source
2006 Feb 13
9
Selenium. Replacement for traditional rails functional test?
Hi list
I''ve got a bit of a philosophical question. After just having discovered
Selenium /Selenium IDE and the rails selenium plugin I''ve realized that
it''s a whole lot easier to do functinoal testing than writing the
traditional rails functional tests.
However it implies that the development database consists of
standardized test data (e.g the test & dev
2006 May 25
1
New BackgrounDRb release
Friends-
There is a new release of BackgrounDRb. This time it is a full
fledged rails plugin with generators and rake tasks thanks to Saimon
Moore. Thanks Saimon!
You can read all about it here on my blog:
http://brainspl.at/articles/2006/05/25/backgroundrb-new-release
The newest feature besides the much cleaner way to install and
control the drb server is caching. You can now use
2015 Jan 06
0
Problem with trash and two partitions in samba
Good day,
I'm analyst full networks of a public office in Brazil.
We use Samba to share files between users , use the trash to move deleted files as a security issue .
In our file server have two partitions.
Noticed that the trash directory must be on the same partition as the files are , as we have two partitions , we created two dumps, only a dumpster works. I wonder , how to recycle files
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave,
I''ve been getting some segment faults while running my tests using
0.10.14 gem so I decided to package the gem locally to add -dH and
generate core dumps for you.
So I followed instructions here
http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off
ran the tests.
I''m getting the following failures. (see this pastie
http://pastie.caboo.se/34790).
I
2008 Jun 16
5
Re: ssh between DomUs in Xen3.2
Hi Waldirio:
I tried telnet earlier from one DomU to another
[root@localhost ~]# telnet 192.168.17.201 22
Trying 192.168.17.201...
Connected to 192.168.17.201 (192.168.17.201).
Escape character is ''^]''.
and then it just hangs...
So it looks like I can connect to the port from DomU to DomU.
But from Dom0 to a DomU
[root@gxn-wn2 ~]# telnet 192.168.17.201 22
Trying
2008 May 19
0
Samba Printer shares - add printer port winxp
hello list,
thanks for the great piece of software :) now to my problem:
i setup samba long time ago with Version 3.0.14a-Debian. Now i want to
put my samba server into a fax gateway.
i create a printcap entry like the following:
fax:\
:lp=/dev/null:\
:sd=/var/spool/lpd/faxlp:\
:if=/usr/local/bin/sambafax:\
:sh:sf:mx#0:
and add a referring entry stanza into smb.conf
[fax]
2005 Nov 14
1
Snap to grid for Draggables
Heya,
Following an idea from Saimon (http://dev.rubyonrails.org/ticket/
2826) and
Borlum (http://dev.rubyonrails.org/ticket/2583) and possibly others,
script.aculo.us Draggables now sport a new "snap" option that works
like this:
snap:25
snap to a 25x25 grid (0,0 is at the elements 0,0 coordinate)
snap:[10,25]
same as above but with different x/y grid size
snap:function(x,y) {
2003 May 21
2
patch to avoid race condition in rsync 2.5.6
There is a small race condition in rsync 2.5.6. When the transfer is
finished, and the file is moved into place, there is a short time
period where the new file is in place with the wrong permissions.
When using rsync on a busy email server to replace the exim config
file with a new file, exim will produce several complaints in that
short period. This small patch fixes the problem, by making
2006 May 18
9
Possible solutions to txtdrive process killing for cpu usage
Hi,
I''ve just deployed a basic ecommerce site on textdrive.com. The
application has been stress tested on our local development machines and
appears to be running fine (no memory leaks).
However, on textdrive the fcgi processes are being killed after just a
few requests apparently because of cpu usage (The log says the processes
exceeds 17% average cpu usage in the last few minutes)
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
2003 Mar 28
8
SNOM 100 vs SNOM 200??
Hi,
I have more or less decided to do with the SNOM phones for the next stage of testing with Asterisk becasue they seem to be the best value for money and have support for the GSM codec and easy upgrades.. But now I have to decied wheather to get the 100 or 200 and if its the 200 then I need to have some justification for the extra cost..
Can someone who knows these 2 phones tell me what the
2006 Jan 04
0
Plugins unit testing
Hi,
I am refactoring a utility class from my application in a plugin and I
am trying to get the unit tests to pass. (they were going pretty fine
before I moved things into a plugin)
I did find the ''rake test_plugins'' command, which seems to trigger my
unit tests, however the load path does not seem to include my plugin''s
directories, so all my previously valid require
2006 Jan 12
4
has_one relationship problem
I was wondering if anyone could see the error in this littte application
I have two models, User and Selection
Selection is an extension of the User model
so in the User model I have a has_one :selection
and in Selection I have a belongs_to :user
in my views, i cannot get @user.selection to work but @user works fine.
http://www.rafb.net/paste/results/GSBt1e61.html
Thanks,
r.b
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2?
I can''t seem to get a very simple example to work:
-----
ruby test/unit/news_item_test.rb
Loaded suite test/unit/news_item_test
Started
F.
Finished in 0.10109 seconds.
1) Failure:
test_add_content_translations(NewsItemTest)
[test/unit/news_item_test.rb:49]:
<"US Title"> expected but was