Displaying 20 results from an estimated 1000 matches similar to: "Ruby app to rails?"
2006 May 30
11
Display XML file, with some formatting.
Hi.
Im quite new to this Rails thing, but it seems like a good product so
why not try it out whit a little prototype i need to build.
What i want is to load any given XML file, and display it with some
formatting.
I have some XSD shemes to validate the XML files against, but its not
vital rigth now.
But how should i approach this task?
At first it would proberly be a good idea to load the
2005 Feb 26
2
FRS & *: an actual business use
I've noticed a growing number of stores using FRS radios. It would make
sense to interface (via soundcard/console driver, with the nessacary
electrical conversion) a VOX FRS radio to asterisk to allow someone in
the office to page/talk with people on the floor or warehouse. You could
throw that call (ie, all the radios) into a meetme conference. Then, you
could have people in the office
2002 Mar 12
3
failsafe against "stupid" / careless users
I'm admin on a samba PDC with 150 users, and as normal users they are quit
"stupid". This means that they ofte deletes something that shouldnt have
been deleted. And I find it anoying to restore their files from tapebackup.
So would it be possible to get samba to "move" files instead of deleting
them? This way I could allocate a disk to store deleted files for a periode
of
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part
where i need to edit the following files that should be automatically
inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I
have none of these inside my public folder. Is there a reason for
this? And how can i change it so they are back
The only files in my public folder at present are
404.html 500.html
2004 May 21
6
VoicePulse SIP
Dear Sirs,
Anybody ever tried running SIP up against Voicepulse? On their
http://connect.voicepulse.com they claim they support both SIP and IAX, but
I can't seem to get SIP running. I have as mentioned before on this list -
huge problems getting any timing devices running on some of my machines, so
IAX is not really an option right now. If I try I get a "Service
Unavailable"
2001 Aug 16
1
Deadlock occurring while opening documents in Notes R5
Version is cvs checkout today at approx 0900 CET.
Running on a debian/unstable box with dist-upgrade as of 0830 CET
today, and with no windows installed.
Problem can easily be reproduced, and deadloc happens everytime
I do this. Open database, everything is fine, open document..
wait a few seconds and wine hangs.
output from wine:
-- err:win32:_EnterSysLevel (0x4075062c, level 2): Holding
2006 Feb 20
4
Samba 3 + Exchange 5.5
Hi Everybody,
I've been asked to upgrade an old NT4 server with a new server running
Debian/Samba. I've got no problem with migrating the old server, but I do
have one "unknown". The company mail run on an Exchange server that is
most likely part of the NT4 network. Has anybody tried this setup? I did
look in documentation and google and found precious little - which to me
2010 Mar 23
7
redirection in format.json ...
I have presently a render :json which modify the current page
if @request.save
format.html { redirect_to(@request) }
format.json { render :json => { :result => ''success'', :request
=> request_path(@request) } }
....
but I would like rather to redirect to an index page
I wrote this but it doesn''t redirect ...
format.json {
2001 May 02
3
Weird graphical glitches while running notes.
My system is a debian/unstable box. I'm running daily cvs snapshots of
wine and Lotus Notes R5.07.
The problem is that it seems like wine isn't getting the redraw messages
from the application or wine isn't sending the redraw messages to the
application. So I get large areas of the program blank/black/see through
to old gfx. It especially occurs with frames/framsets in notes.
For
2010 Mar 24
3
More elegant solution for "missing" has-many through ids?
I have LabGroup and LabDesc which have many through LabDescGroup. I''d
like to identify LabDescs which don''t have a LabGroup. This works:
x = []
LabDescGroup.find( :all, :select => ''DISTINCT lab_desc_id'' ).each{ |c|
x << c.lab_desc_id }
y = []
LabDesc.find( :all, :select => ''id'' ).each{ |c| y << c.id }
notfound = x - y
But
2011 Dec 04
6
Shorewall 4.4.27 Beta 1
Beta 1 is now available for testing.
One of the problems I''ve had with the Shorewall products is trying to keep them all in sync. There have been two copies of each shell library and four CLI programs.
To simplify maintenance, I have collapsed each of the library pairs into a single library and have reduced the number of CLI programs from four to two (one for the
2011 Dec 04
6
Shorewall 4.4.27 Beta 1
Beta 1 is now available for testing.
One of the problems I''ve had with the Shorewall products is trying to keep them all in sync. There have been two copies of each shell library and four CLI programs.
To simplify maintenance, I have collapsed each of the library pairs into a single library and have reduced the number of CLI programs from four to two (one for the
2010 Mar 24
4
grouping and acts_as_tree
hi,
im using acts_as_tree and im not sure on how to group find-result.
x = find.almost_all
<p>
<% for y in @x.ancestors.reverse %>
<%= link_to h(y.title), page %> >
<% end %>
</p>
gives me a nice "breadcrum". but how is it possible to group the list lets
say by the 1level or second level?
thx
--
You received this message because you are
2010 Mar 26
6
Rake argument error
Hi,
I''m having a problem loading a sample data with simple rake command.
rake db:fixtures:load
When I run the above command,I get the following error
$rake db:fixtures:load
(in /home/raghu/www/photos)
rake aborted!
a YAML error occurred parsing
/home/raghu/www/photos/test/fixtures/photos.yml. Please note that YAML
must be consistently indented using spaces. Tabs are not allowed. Please
2003 Sep 02
2
dovecot, vpopmail and djb's tcpserver
Hello!
I've tried to set up dovecot in conjuction with vpopmail, and running it
under djb's tcpserver instead of (x)inetd.
Btw - there was no reference to setting dovecot up using (x)inetd either in
the manuals/faqs i read, though I didn't search all that hard. Anyway, back
to my Q:
vpopmail uses vchkpw as an authentication mechanism, and with tcpserver I
can do relaycontrol (based
2009 Oct 22
3
PDF too large, PNG bad quality
I wish to save a scatter plot comprising approx. 2 million points
in order to include it in a LaTeX document.
Using 'pdf(...)' produces a file of size about 20 MB, which is
useless.
Using 'cairo_pdf(...)' produces a smaller file, around 3 MB. This
is still too large. Not only that the document will be too large,
but also PDF viewers choke on this. Moreover, Cairo has problems
2005 May 24
1
Intermittent long (~20-second) delays getting to files in a share
Hi,
I'm a newbie to the list, so bear with my ignorance.
I have installed 3.0.14a on FC3, and am using it on a network of 5 XP boxes.
The symptoms are as follows:
When I initially start using the server, there is a significant delay (~
20 seconds) to accessing the share (home directory or a regular file
share). After that I can open files with no problems (near-instant
response) for about 2
2009 May 08
4
howto find x value where x=max(x)
Hi,
fp is a data frame like this
,----[ fp ]
| Frequenz AmpNorm
| 1 3322 0.0379490639
| 2 3061 0.0476033058
| 3 2833 0.0592954124
| 4 2242 0.1275510204
`----
i want to find the "Frequenz" where "AmpNorm" is max.
I use this line as workaround:
PeakFreqHz = subset(fp, AmpNorm == max(AmpNorm))$Frequenz[1]
Is there something nicer?
And is there an
2017 Dec 14
2
delta and sd parameters for power.t.test
What is the rationale behind having both the delta and sd parameters for
the power.t.test function? For the relevant noncentrality parameter, we
only need the ratio delta/sd. If my effect size is given as Cohen's d,
then I only got that ratio and not sd.
As far as I see, in such a case, I can specify delta=d and leave sd at
its default value 1. Is this correct or am I missing something?
2008 Jul 28
4
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by shorewall-common-4.2.0-0Beta3.noarch
Hello - I am a little problem trying to find what dependency I need to up
date - This is what I see when trying to install:
rpm -Fvh shorewall-*
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by
shorewall-common-4.2.0-0Beta3.noarch
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by
shorewall-perl-4.2.0-0Beta3.noarch
I am using Centos 5.2 with the following RPM