Displaying 20 results from an estimated 20000 matches similar to: "Keeping 2 different sessions active together"
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/.
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,
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
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
2006 Mar 30
1
What is the entry-point for a rails app?
Hi,
I would like to run a DOS command such as "net send ..." when I start
the rails application using script\server. Can you please tell me where
I need to put the call? Is it environment.rb by any chance?
-Yash
--
Posted via http://www.ruby-forum.com/.
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 Apr 29
3
undefined class/module
Hi,
We are running a Rails application in development mode. Intermittenly we
get an error on some pages, saying : undefine class/module User. If we
refresh the page, the error goes away and we see the html correctly
rendered. User is a model defined in the models directory and has been
listed in application.rb as model :user.
I am suprised by the fact that this happens only occasionally. Can
2013 Jan 09
1
NAS and 2 active Samba servers / locking not working
Hi,
I have one NAS which I can access via NFS or Samba.
This storage is accessed by 2 linux servers with Samba where I re-export the NAS share. This is sort of an active/active loadbalancing cluster.
The only thing not working is locking... If a client opens a Word-File via server1 and another opens the same via server2 it won't inform the user that he can only open the file readonly.
I was
2013 Apr 08
1
OT - How to simulate public IPs for lab testing
Hello,
Many times, I need to test in a lab Asterisk servers before sending them to
customer locations.
I'm currently having trouble to test SIP trunks without touching SIP
configuration.
So, how should I change my testing lab so that I could now test SIP trunks
without modifying Asterisk server under test ?
A typical set up is:
Asterisk server1 under test <---SIP----> Router
2007 Sep 11
2
Possible bug in authentication cache in dovecot 1.1.alpha4
Hello,
it seems that there is some bug in authentication cache code in dovecot
version 1.1.alpha4 - after login attempt with wrong password the correct
password also will fail.
I can reproduce it very easy:
$telnet 10.10.10.30 110
+OK Server. <861.2.46e6c679.jZ8QYpFmU8ZN6XIq7zPhkw==@server2>
user testuser
+OK
pass pass
+OK Logged in.
quit
+OK Logging out.
Connection closed by foreign host.
2009 Jul 28
1
different names for new files in a for loop
Hi,
I have an excel file with 10 columns and I am trying to create new excel files each with columns 1, 2, and columns 3-10.
Does anyone know how to change the name of the file in a for loop so that the first new file will have columns 1, 2, 3 with a name and then the next file will have columns 1, 2, 4 with a different name and so on till i get to the 8th new file with columns 1, 2, 10?
Thank
2002 Feb 19
5
CIFS Session transfer
Hi All,
I would like to know if this is possible and if possible what is the
complexity.
Consider a CIFS client, SAMBA Server1 and Samba Server2.
Say a session is established between a CIFS client and SAMBA server1. Is it
possible for the SAMBA server1 to transfer/redirect/reestablish the
connection to SAMBA server2 without the CIFS client knowing about this? The
session between the CIFS
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.
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))
2019 Nov 28
2
security=domain fails after upgr. to 4.9, winbind doesn't help
Rowland penny via samba wrote:
> So your server doesn't seem to be able to find winbindd, are you sure it
> is running ?
>
> What does this show:
>
> ps ax | grep '[w]inbind'
>
> What OS is this ?
It's SuSE Linux Enterprise 15sp1. winbindd is definitely running, I showed
that in the first mail in the output of "rcwinbind status", there you can
2004 Oct 31
2
samba 3.0.7 and os/2
Hello,
samba v3.0.7 on suse linux v9.1
os/2 v4.x
I have started the process of replacing our os/2 hosts with linux,
starting with the server(s). Most of the problems have been firewall
related, a topic only briefly discussed in the docs (nudge).
Some of the hosts can now interact with the linux samba shares; not all
though. I have run ip traces and have gotten to a point that is a
2006 Mar 07
3
[Samba Version 3.0.20b-3.4-SUSE]: WinXP-Error writing to share
Hello mailing-list,
this is my first post and i hope that you enjoy my very bad but
sometimes funny english.
My Problem is the following:
First of all, my server-config:
Samba Version 3.0.20b-3.4-SUSE
on a
SUSE Linux Enterprise Server 9
with Kernel 2.6.5-7.252-smp
Now the problem is, that samba generally works fine, but it doesn't work
to work with a special application directly on a
2006 Nov 05
2
windows 2003 authentification on SAMBA PDC
I want authenticate windows 2003 R2 on SAMBA PDC.
I have bind with these records.
_ldap._tcp.mydomain.com. SRV 0 0 389 server2
_kerberos._tcp.mydomain.com. SRV 0 0 88 server2
_ldap._tcp.dc._msdcs.mydomain.com. SRV 0 0 389 server2
_kerberos._tcp.dc._msdcs.mydomain.com. SRV 0 0 88 server2
And y have also server2 A record.
server2 IN A 192.168.250.253