Displaying 20 results from an estimated 8000 matches similar to: "preventing multiple logins"
2006 Aug 15
20
Talking to Java APIs
I''m trying to figure out how Ruby in general, and/or anything extra
Rails may have, can talk to Java APIs of third party server apps.
After quite a few search attempts net-wide and on ruby forums, and
with "Programming Ruby" in hand, I''m coming up with zilch. Either I''m
not finding it, or I''m not recognizing it.
I''m assuming there has
2008 Apr 13
3
Can't get simple link_to_remote to work
AFAICT, this is all I need to do to get a simple example working:
the <head> should have this:
<%= javascript_include_tag :defaults %>
My test page view should have a div with an id and the ERB like this:
<%= link_to_remote ''Click Me'',
:url => {:action => ''show_time'',
:update => ''time_box''} %>
2006 Jun 22
12
invalidating a session on multiple login
How do I do the following: if a user is logged in, then opens another
browser tab and logs in again (either as himself or as someone else),
I want to invalidate the session in the first tab and throw up a
"logged in from another browser window" screen. RIght now, user1''s
session silently becomes a duplicate user2 session instead (from what
I understand, sessions are bound to
2008 Feb 12
4
Syntax of session's updated_at field ?
What''s the syntax to acquire the updated_at value of a session stored
in a db?
session.updated_at doesn''t work. can''t find any docs on this.
-- gw
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2004 Jan 12
14
Shorewall FAQ Wiki Online, nearly complete...
Hello,
Mike Noyes and myself have populated http://wiki.rettc.com with the
shorewall FAQ.
This wiki is running MediaWiki, http://www.mediawiki.org.
Currently, a couple items are not complete.
I have just begun a heavy semester of mathematics/physics studies, and
do not have much time to give to this.
But, it is online, and seems to be stable. I will keep an eye out for
abuse, and limit
2003 Sep 17
2
help jeremy
* compiled from cvs, i am trying call ip phones in callmanager 3.2
10.17.0.2 is my callmanager
i noticed from network dumps that instead of sending rtp to the ip phone, * sends it to 10.17.0.2!
thereby causing no audio from * to ip phone. audio from ip phone to * is ok.
only callmanager calls fail. netmeeting works ok...
here is the debug, thanks for any info
~kelvin
H323 debug enabled
--
2009 Aug 16
4
How show validation errors in form_remote_tag?
I suspect this has been asked 400 times, but Google yields 2-3 rather
complex gymnastics in blogs (and possibly dated), and searching list
archives on ruby-forum proves kinda useless.
Using standard forms, it''s fairly easy to use
@object.errors[:field_name] in the form to embed an error message right
next to the field that has the invalid entry. The controller uses a
simple conditional
2006 Nov 04
8
alternatives to script/runner?
I''ve been using script/runner to add and delete files from the
database in response to inotify events. This works in theory, but is
too slow to keep up with a large number of events in succession; I''m
suspecting that the bottleneck is that script/runner has a huge
startup cost.
One thing I thought of was to queue inotify events, and call
script/runner once a minute to clear the
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC)
I don''t know whether this is a mongrel issue or a monit issue.
I''m trying to poke my way around a system set up by someone else. I have
no more experience w/ mongrel that local Rails dev at this point, and a
conceptual understanding of how monit is working. I have the Deploying
Rails beta book, and I''m
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users
password and send it to them. In the DB its saved via SHA1 (login
generator)
--
Posted via http://www.ruby-forum.com/.
2011 May 14
4
Libnss-mdns problem
Hi there!
I've got a problem with running wine under Debian.
When i try to start a download following comes :
root:~# wine ~/.wine/drive_c/Program\ Files/Valve/HLServer/HldsUpdateTool.exe -command update -game brink ~/server/brink
It appears that libnss-mdns is installed on your system,
but lib32nss-mdns is not. Please note that Wine will not be
able to access the Internet unless you either
2011 Oct 12
14
pv-grub Solaris support
Hello all,
I''ve patched pv-grub to allow it to boot a Solaris PV domU using an
unmodified menu.lst. The attached patch has been tested with various
Solaris versions (Solaris 11 Express, OpenIndiana 151a, OpenSolaris 134,
Nexenta Core 3.0.1; all 64-bit). I appreciate your feedback.
The patch consists mainly of Oracle''s grub modifications, which add ZFS
support and
2007 Nov 29
27
Strip & Sanitize BEFORE saving data
So I''ve googled my brains out, and I see a lot of talk about
TextHelper for views, but next to no discussion about cleaning text
_before_ it is saved.
I figured this had to be asked 4 zillion times, but I''m not finding
anything concrete/obvious.
Using h is fine as a safety catch, but that alone is not acceptable
to me as the means of diffusing the impact of HTML or JS
2005 Mar 05
4
''Session id'' hacking?
> Because you mentioned "cookie-hacking": it is very easy to
> take over a rails-session if you know the value of the
> session-cookie. It is not possible to prevent that easily,
> you can just make it harder by encrypting the whole session
> (right from the beginning when the user enters the site,
> and the cookie is created) by using https.
https will encrypted
2007 Jul 31
2
merb speed
Hi,
We have a rails app which is essentially a web UI to a unix
filesystem, and which has been performing rather slowly. I''ve been
looking at rewriting it in merb, so I did a quick spike where I ported
over all the rails code necessary to log in as a user, and generate
the same file list page that rails was serving up. However, the
numbers appear quite bad (twice as slow as rails, for a
2007 Oct 11
9
mongrel_rails not starting
os x 10.4.10
used gem to install mongrel 1.0.1. seemed to go w/o errors.
"mongrel_rails start -d" spits out this error
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.bundle:
Failed to load
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.bundle
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require''
2007 Apr 24
1
problem POSTing with curl and REST using scaffold_resource
I issued the following curl command to post to the database using
REST:
curl -i -X POST -d "<heartrate><heartRate>102</
heartRate><sessionID>1002</sessionID><timeStamp>15068</timeStamp></
heartrate>" http://localhost:3000/heartrates
I have tested the GET (with curl also) and it works fine!
curl http://localhost:3000/heartrates/45
2013 Jan 14
1
I'm trying to parse 1 column of a dataframe into 3 seperate columns
I have a factor called 'utm_medium' in the dataframe 'data'
> str(data$utm_medium)
Factor w/ 396925 levels
"","affiliateID=&sessionID=0000821850667323ec6ae6cffd28f380&etag=",..:
366183 355880 357141 20908 357513 365348 368088 360827 31704 364767 ...
The data in this factor is delimited with '&'. I basically want the
affiliateID,
2017 Aug 16
6
extremely low performance on Samba 4.2.14-Debian
Le Fri, 11 Aug 2017 11:55:03 +0100
Rowland Penny via samba <samba at lists.samba.org> écrivait:
> If you are going to upgrade, you might as well go for the highest
> version you can, this will probably mean using Louis's packages.
>
> Samba is a rapidly changing program, a new minor version is released
> every 6 months (approx) and the changes are significant.
>
>
2011 Jan 04
2
Print plot to pdf, jpg or any other format when using scatter3d error
Hi,
I have been trying to output my graphs to a file (jpeg, pdf, ps, it
doesnt matter) but i cant seem to be able to get it to output. I tried a
few things but none of them worked and am lost as what to do now. I am
using the scatter3d function, and it prints out the graphs on tot he
screen without any problems, but when it comes to writing them to a file
i cant make it work. Is there any