Displaying 20 results from an estimated 80000 matches similar to: "rails url to object reference"
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There,
Every now and then, and recently more and more we get a "503 server
temporarily unavailable" error from our rails app.
We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian
The thing is I don''t think we have such a heavy load on the server, and
I haven''t seen this error occur at all outside the rails app. In fact I
don''t think I ever
2006 Apr 12
2
RedCloth versus BlueCloth efficiency
Has anyone profiled the performance of RedCloth versus BlueCloth?
I''m starting to realise that RedCloth is a more mature ruby project,
although Markdown the syntax maybe more widespread than Textilize.
Apart from the syntax, does anyone feel they have a preference, in terms
of performance or number of outstanding bugs?
Many thanks in advance.
CHEERS> SAM
2006 Feb 06
9
tests fine, but fail under rake
Hi there,
So I have an odd error at the moment that only occurs when I run tests
via rake. It''s happening with two tests now. Under a simple ruby run,
the tests are fine, e.g.:
D:\User\Code\ruby\prometheus>ruby
test\functional\story_comments_controller_test
.rb
Loaded suite test/functional/story_comments_controller_test
Started
.........
Finished in 2.37 seconds.
9 tests, 65
2006 Aug 15
0
BlueCloth throws exceptions! Be careful! (was: auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`))
On 12/15/05, Sam Joseph <sam@neurogrid.com> wrote:
> markdown couldn''t handle an acute accent (`) e.g.
>
> Hawai`i
>
> It seems that acute accents (or backticks) in Markdown signify code
> segments, and it seems there''s an open ticket for this:
>
> http://www.deveiate.org/projects/BlueCloth/ticket/24
I would just like to bring this to
2008 Apr 19
3
Trusted storage failed to initialize
What does this mean?
Code:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig()
at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean
2006 Jan 23
0
continuous integration - how do you do it?
Hi All,
In the absence of any clear picture about whether damagecontrol is a
practical option for continuous integration, I set up the following
scripts on my server to run the rails functional and unit tests each day
and mail me the results:
::::::::::::::
run_functional_tests.sh
::::::::::::::
#!/bin/bash
cd /var/www/ruby/srjoseph/prometheus
rake test_functional &>
2008 May 31
3
.Net/regasm error on rc3
Software: Trados as usual
Script to launch:
Code:
#!/bin/sh
wineboot
cd ~/.wine/drive_c/
if test -f SDLTrados2007_PRO_SP2_835.exe
then
echo "file exists"
else
cp ~/SDLTrados2007_PRO_SP2_835.exe ~/.wine/drive_c/
fi
cd ../../../
wget -nd www.kegel.com/wine/winetricks
winetricks -q corefonts gecko wsh56 fakeie6 winxp
cd ~/.wine/drive_c
wine SDLTrados2007_PRO_SP2_835.exe -q
2009 Mar 23
0
URL-encoding and decoding on Rails
I have a URL parameter that has special characters on it, so I do URL
encoding as such:
my_url(:email => CGI.escape("someemail+extension-O5WfVfzUwx8@public.gmane.org")
Now, I would expect to call a CGI.unescape(params[:email]) on the
action receiving this parameter, and this is true according to my
functional tests.
But when I tested this on the browser, it failed because,
2005 Oct 01
7
minimal browser requirements for scriptaculous
Hi,
I noticed that the scriptaculous shopping cart demo doesn''t work in
safari 1.03.
I was wondering if there was documentation somewhere that would tell me
what my minimal browser requirements were for running scriptaculous?
I found this comparative analysis on the web:
http://wiki.osafoundation.org/bin/view/Projects/AjaxLibraries
but I think it might be a bit out of date.
I did
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
This fix has been implemented in preparation for the upcoming klibc
merge in -mm. But as it fixes a real (but rare I hope) bug in vanilla
kernel it will be added to my pending 2.6.17 kbuild queue.
I've done quite some changes to the gen_initramfs script and
being shell programming newbie review by more experienced shell
hackers would be appreciated.
I did a git mv
2008 Dec 07
2
Help with Keyword Corral
I've been trying to get Keyword Corral (http://www.johncow.com/brand-new-free-keyword-corral-tool-by-john-cow-dot-com) installed with Wine 1.0.1 on Ubuntu 8.10 and the best I can manage is the program appears to start up and then quits.
Unfortunately, I've only recently moved to Ubuntu and there's a lot I don't have a clue about.
I've tried running it in a Virtualbox VM but
2008 May 25
3
naming components of a list
Hi
I have a character vector with thousands of names which looks like this:
> V=c("Fred", "Mary", "SAM")
> V
[1] "Fred" "Mary" "SAM"
> class(V)
[1] "character"
I would like to change it to a list:
> L=as.list(V)
> L
[[1]]
[1] "Fred"
[[2]]
[1] "Mary"
[[3]]
[1] "SAM"
but I need to
2006 Jul 23
2
Copying a file from a URL to local machine.
Hello,
In my model, I''d like to be able to copy a remote .jpg file from a URL:
http://<doman.com>/path/picture.jpg
I''d like to copy this to my local machine in my model. What
libraries/calls could I make to make this work?
Any help would be appreciated,
Thanks,
Sam.
--
Posted via http://www.ruby-forum.com/.
2008 Apr 05
0
[LLVMdev] Reference Manual Clarifications 2
Jon Sargeant wrote:
> Chris Lattner wrote:
>> On Mon, 31 Mar 2008, Jon Sargeant wrote:
>>> I'm attaching another round of changes. Please verify that they are correct.
>> Applied with edits:
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080331/060556.html
>>
>> I figured out what your patches don't apply. Something (your web
2010 Feb 11
2
Errors running BiblePro and BibleStudyPro on today's Git
All:
I get the following error when attempting to start these programs which
rely on .NET 2.0:
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
Unhandled Exception: System.InvalidOperationException: OSVersion's call
to GetVersionEx failed.
at System.Environment.get_OSVersion()
at System.Globalization.TextInfo.GetNativeTextInfo(Int32
2008 Dec 16
3
ApplicationProperties
Hi There,
I was wondering what the appropriate way to use the
applicationproperties.rb model was.
I was hoping to query it to find out which users are developers for my
app and then grant special permissions to them ...
I tried creating something like this:
class ApplicationProperties < ActiveRecord::Base
def facebook_session
@facebook_session ||=
returning
2010 Feb 15
0
Unable to provision with openldap/samba4: pdc_fsmo_init: no domain object present
I was trying to follow howto at
http://wiki.samba.org/index.php/Samba4/LDAP_Backend/OpenLDAP
with today's source (15 february 2010)
(latest commit: 6ec6fa0ac4e71f9b14a3cbfef328d50e321b0544)
./configure --enable-developer worked as well as make && make install.
Provision fails:
./setup/provision --realm=unimore.it --ldapadminpass=atmlite
--ldap-backend-type=openldap
2005 Aug 15
4
return unique values from date/time class object
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I have a wind speed time series with a normal frequency distribution and a
spike in the 5 metres/second bin. The most likely explanation is that the
instrument was returning duplicate values at this speed. To check this, I
want to extract all the unique
2006 Oct 12
1
install failing on bsd
Hi Everyone
I'm a total newbie so please bear with me
I'm running FreeBSD 5.4 and I hae tried (numerous times) to install Samba
based on these instructions
http://joseph.randomnetworks.com/tag/nsswitch
this is the error I keep getting
Using FLAGS = -O -pipe -D_SAMBA_BUILD_
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
2008 Nov 22
2
User Authentication and Username Map
Hi to all..
I've setup a Samba domain and now having a hard time setting up Unix to
Windows user mapping. As an example on the server, user is 'agi', and at the
workstation I want an 'Alec Joseph' as the user name. If I log on from a
Linux desktop using the alias connection goes through:
# sudo tail -f /usr/local/samba/var/log.smbd | grep 'Alec Joseph'
Got