Displaying 20 results from an estimated 3000 matches similar to: "undefined class/module"
2008 Sep 26
2
Preventing Mongrel/Mysql Errno::EPIPE exceptions
I have a rails app serving up XML on an infrequent basis. This is being
run with mongrel and mysql. I''ve found that if the app does not get
exercised for longer than a few hours it goes dead ("Lost Connection to
MySQL") and starts throwing Errno::EPIPE errors. It seems that the mysql
connection gets timed out for inactivity or something like that.
It can be restarted with
2006 Apr 05
7
Regex for splitting string
Hi
We have a search website where the user can type in individual words
separated by spaces and/or phrases enclosed in single or double quotes.
We are looking for a way to obtain a list of words and phrases from the
search string.
Can someone help?
Thanks,
Yash
--
Posted via http://www.ruby-forum.com/.
2009 Jun 25
2
ConVirt 1.1 is released.
Hi
We are extremely happy to announce ConVirt 1.1 release.
For details please visit :
http://www.convirture.com/blog/2009/announcements/convirt-11-is-now-available/
ConVirt Team.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2005 Jun 20
0
version 2.2.8a intermittenly hangs on solaris 8
Hi folks,
Intermittenly samba hangs and will not allow any more connections from any client
regardless your OS. Looking at the samba.log file and errors in it, I wasn't able to determine
what is the real and what's not, could not really find anything here eaither that would tell
me what could be cause of this behaviour.
examples from samba.log file, not sure, though, that these would
2018 Aug 21
5
selinux question
I have a web application which uses sudo to invoke python scripts as the
user under which the application runs (NO root access).? Is there any
reason why sudo would would require sys_ptrace access for this?? I only
get this violation intermittenly, and not with every call to sudo.?
Here's the violation:
Summary:
SELinux is preventing sudo (httpd_t) "sys_ptrace" to <Unknown>
2006 Mar 01
6
How to retrieve attributes from HABTM?
We have tables Users and Communities linked by has_an_belongs_to_many.
The join table Communities_Users has additional fields [ is_active,
is_blocked, join_date] etc. These are populated using
@user.push_with_attributes(:is_active => true,...).
Later on how do we update or retrieve the attributes in the link table
for a given user or a community with doing it explicitly using SQL?
Thanks,
2013 Mar 14
3
date & time manipulation- R 2.15.1 windows 7
Hi,
I wanted to learn how to solve a date and time manipulation where i can
do the following two
1. difference of two dates eg (differnce between 5th jan 2013 and 1st
jan 2013)
2.Suppose i have week number of the year, i want to know if i can find
out the day it refers to eg( say week 2 of 2013 would be 6th jan 2013 and
the day is sunday)
i need my result to tell me that its
2010 May 05
2
[LLVMdev] hi, I can't find information about how to cross compile llvm-gcc in llvm docs.
hi all
We want speed up our applications, so we want use llvm-gcc. I nerver
cross build it for arm, and I didn't find enough information in llvm docs.
Our cpu is cortex a8, anybody tell me how can I do? Step by step.
THANK YOU!
yours Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 04
2
Looking for tools developed on Rails
Hi,
We are trying to setup a tool developed on Ruby on
Rails, that provides a Project Dashboard, with the
following features:
Abstract of the project.
Task list
Calendar
The task list should provide:
Task Name
Owner
Start and end dates
%completion
Dependency, etc.
The Calendar should provide
Day, Week and month views.
Can you please suggest some tools with available
source code that loosely
2006 Mar 22
1
How to go DRY?
We are creating a website for creating and maintaining communities. When
members of a community are listed, we show their summary in a TABLE. So
we have written a _member.rhtml partial to show this summary for that
member. To show the memberlist we do
render :partial => member, :collection => @members
Now the problem is the row displayed for every member by the _member
partial, may differ
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi,
I''m trying to make a simple shopping cart, where I want to maintain
state when a use logs in from different location. Consider the
following :
1. ''foo'' logs in from home pc and add ''bar'' item to the cart.
2. ''foo'' goes to office and logs in from office PC.
3. Now I want only one session for ''foo'', so that when
2007 Sep 22
1
Job trend cross-over for Ruby/Rails and Java combo
See the graph at
http://tinyurl.com/35rnx4
For some time, I''ve been watching the three combinations
ruby + rails,
ruby + developer,
java + hibernate + tomcat
using the www.indeed.com job-trend grapher.
They have (after a long climb), finally reached parity.
Of course, you can pick different combinations and get entirely
different results.
-- Mike Berrow
--
Posted via
2006 Mar 23
1
Using regional settings from windows registry
Hi,
On our web pages, we would like to show all dates and times in the
format defined on the server''s registry. The rails application will be
installed in different countries, hence we want to cater to all types
date and time formats by picking it from the registry.
The formats used in the registry are such as M/d/yyyy, whereas the Time
class in Ruby uses formats such as %m/%d/%Y.
2006 Feb 11
1
How to POST raw data?
Hi,
I know that ActionController::AbstractRequest provides a raw_post method
that reads the data that has been posted to the HTTP server as raw data.
I am trying to create a rails application that POSTs raw XML data to a
web page that reads raw data.
I would like to know how to POST raw data to an HTTP server using Ruby
on Rails.
Can you help me with this?
Thanks,
Yash
--
Posted via
2006 Feb 11
1
Instructions required for RailsCron
Hi,
I am writing a client-server rails app. The client and server maintain
similar databases. Periodically, I would like them to synchronize their
databases. For this, in the application, once the user logs in, I want
to spawn a background process at the client that first sends the
client''s new data and then receives the server''s new data.
I am thinking of using RailsCron for
2009 Sep 10
1
function to solve equations
Hi,
I am trying to solve this equation prob = exp(-3.33 + 0.0102*x)/(1+exp(-3.33 + 0.0102*x)). I want to write a function where I call the function and enter the 'prob' value and the output should be the 'x'. Im not sure how to write this. I have a basic structure but im not sure if its correct.
calc <- function(prob){
prob <- exp(-3.33+0.0102*x)/(1+exp(-3.33 + 0.0102*x))
2006 Feb 08
2
How to install RailsCron?
Hi,
I would like to start running a background procedure once a user logs in
to his account on the website. For this I am considering using the
RailsCron object. However, I am not able to download it. I am new to
Rails. Can someone give me the excat command I should use to get
RailsCron?
Can someone suggest a better way of running a procedure in the
background?
Thanks
-Yash
--
Posted via
2009 Oct 07
2
[LLVMdev] DebugFactory
On Thu, Oct 1, 2009 at 8:34 PM, Talin <viridia at gmail.com> wrote:
> Here is a patch that does just that.
This does not work. I'm getting
llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp: In member function
‘llvm::DIType clang::CodeGen::CGDebugInfo::CreateQualifiedType(clang::QualType,
llvm::DICompileUnit)’:
/Users/yash/clean/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:225:
error:
2010 May 05
0
[LLVMdev] hi, I can't find information about how to cross compile llvm-gcc in llvm docs.
On Tue, May 4, 2010 at 8:57 PM, 爱好者 <proljc at gmail.com> wrote:
> hi all
> We want speed up our applications, so we want use llvm-gcc. I nerver
> cross build it for arm, and I didn't find enough information in llvm docs.
> Our cpu is cortex a8, anybody tell me how can I do? Step by step.
> THANK YOU!
> yours Liu
Try the
2000 Apr 20
7
Print Server
Ok, here's my setup: I've had a samba file server going for about a year
now. It's Samba v2.05a on a RH6.0 sys. Currently we have a printer
server running on a Winblows NT box. This NT box has the following
printers: HP5si, (4) HP4000, and a few HP4s. All of those printers have
Jet Direct ports on them. What I want to do is, move all the printers
over to the Samba box and KILL the NT