Displaying 20 results from an estimated 40000 matches similar to: "List active user sessions"
2010 Nov 29
3
session active_record_store
Hi,
There doesn''t seem to be any previous posts about this problem, I must
be
setting things up wrongly at very basics...
Firstly, the problem... I can''t get session[] to persist with
active_record_store. I enabled (config.action_controller.session_store =
:active_record_store) in environment.rb and created the sessions table
at my MySQL database. When I do a session[:blah] =
2010 Jun 04
4
Mac OS/X and Rails 3 ?
Hello List,
Label me a newb, but how do you install Rails 3 on your Mac?
Google sent me to these URLs:
http://weblog.rubyonrails.org/2010/2/5/rails-3-0-beta-release/
http://guides.rails.info/3_0_release_notes.html
http://asciicasts.com/episodes/200-rails-3-beta-and-rvm
From early Feb 2010 I see this short recipe:
gem install tzinfo builder memcache-client rack rack-test rack-mount
erubis mail
2010 May 24
6
Problem Installing Rails 3
I''m trying to install Rails 3 on a brand new MacBook Pro running OS X
10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I''m wondering if I''ve hosed
myself. So far, I''ve run these commands:
$ gem update --system
$ gem install arel tzinfo builder memcache-client rack rack-test rack-
mount erubis mail text-format thor bundler i18n
$ gem install rails --pre
However, when I
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X
10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions
(lots of Gem::InstallError: cannot uninstall).
Because of that, I don''t trust the rails beta3 install I just
completed. Here''s the story:
* config is Apple''s ruby 1.8.7 and gem 1.3.6.
* xcode is installed from
2006 Jul 21
2
mongrel, memcache and sessions
Hi,
I''m using mongrel-0.3.13.3 with memcache-client-1.0.3 for storing sessions.
It was working fine with actionpack-1.12.0, but when I upgraded to
actionpack-1.12.3, I started getting a "can''t convert String into Hash"
error from memcache.rb from memcache-client.
I was able to fix it by changing the way the MemCache object was created in
2010 Sep 08
2
Rails 2.3.9 breaks sessions with Active Record or Memcache store
A Rails 2.3.9 app with Active Record or Memcache session store will never
send the session ID cookie to a client if the client doesn''t send any HTTP
cookies in its requests. Rails integration tests didn''t catch this because
they always send the HTTP_COOKIE header, even if it''s empty.
This is a huge bug, as it can break keeping sessions on sites which don''t
set
2010 Feb 11
2
Error when starting rails server [on rails 3]
Hi all,
I receive an error when starting the server, namely:
~/Documents/blog$ rails server
/usr/local/lib/site_ruby/1.8/rubygems.rb:827:in `report_activate_error'':
RubyGem version error: rack-mount(0.5.0 not ~> 0.4.0) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate''
from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate''
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all -
I am trying to get rails to use memcache for sessions and fragment
caching. I''d also like to use the same connection for general caching of
this and that.
I''m following the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore
and hitting a brick wall.
I''m using the new memcache-client since from what I''ve read
2012 Nov 06
0
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
I'm still in need for moderators for the following sessions:
> Moderator #3 (11:15-12:45, Regency 1)
> Verified LLVM: Formalizing the semantics of the LLVM Intermediate Representation for Verified Program Transformations- Santosh Nagarakatte, University of Pennsylvania/Rutgers University
> Integrated Security, using LLVM for Dynamic and Static Security Tasks- Jared Carlson,
2010 Jun 25
5
Error installing gems for Rails 3.0.0.beta4 on MacOSx
I tried to install Rails 3 Beta in my snow.leopard machine using the
command below: (w/ sudo if it requires)
gem install tzinfo builder memcache-client rack rack-test rack-mount
erubis mail text-format thor bundler i18n
unfortunately after 12 gems installed i got an error regarding
builder-2.1.2
12 gems installed
Installing ri documentation for tzinfo-0.3.22...
Installing ri documentation for
2010 May 04
2
Session Store Issues on Production Server
Hello,
I am using AuthLogic as my authentication gem. Everything is great on
my development server. When I upload to my passenger driven
production server at Dreamhost, the sessions are persisting
relentlessly. In other words, a user cannot log out. I have tried
implementing the Active Record session store and have changed
the :secret key in initializers/session_store.rb, but for some reason,
2008 Oct 13
10
Shibboleth
Can anyone direct me to a really good tutorial on Shibboleth integration
with Rails, or indeed some sample code? I''ve been tearing my hair out
all day on this one.
Thanks
RobL
--~--~---------~--~----~------------~-------~--~----~
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
2012 Nov 04
2
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
Hello,
I am in need of moderators to help moderate each session. If you are interested, please respond to this mail and indicate which slot you can moderate.
Its a long shot as you would miss talks, but if anyone wants a break to do work or check email while also staffing the registration desk, please let me know if you can do it during any of the sessions below. Thanks!
Options:
Moderator #1
2010 May 31
1
Flash not deleting with Redis/Memcache store
I''m a recent convert to Rails and I''m working on a new project using Rails 2.3 (I''ll probably upgrade at some point when Rails 3 is in production and had a chance to bake the .0 bugs out). I''m going to use Redis anyway for caching important data, so I thought I''d use the redis-store:
http://github.com/jodosha/redis-store
But it appears the flash
2007 Feb 02
6
Mongrel and MemcacheSessionStore
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
I''ve been using Mongrel for quite some time now but I ran into an issue
that threw me back to lighttpd + fastcgi.
The application in question was running fine in the production
environment with SQLSessionStore and using a mongrel cluster behind a
load balancer. However, by switching to a MemcacheSessionStore (using
either
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op.
$ yes | sudo gem install cached_model
Or, you can download cached_model and memcache-client (our zippy-fast
memcache library, required) from:
http://rubyforge.org/frs/?group_id=1266
I don''t have the README posted for making cached_model work online
yet, so here it is:
= CachedModel
Rubyforge Project:
http://rubyforge.org/projects/rctools/
== About
2012 Aug 08
1
Memcache and Rails - Storing String as values.
Hello all,
I have been using Memcache with my rails application to store certain
key value pair.... I am using Dalli gem for the same... So Here''s what i
do from console:
require ''dalli''
dc = Dalli::Client.new(''remoteserver:11211'')
dc.set(''example_link'', "http://www.google.com")
=> true
value =
2011 Sep 02
4
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Hi, guys,
I got the below error message when i typed this command in terminal "rackup
config.ru" , the file config.ru is rails ''s configuration file.
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Consider using bundle exec. (Gem::LoadError)
So, how should i do , thanks a lot.
--
You received this message because you are subscribed to the
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the
log/production.log:
Please help, thnx.
/!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010
Status: 500 Internal Server Error
No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED:
Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38
+0200 2010)
2010 Jun 11
2
How to use an active record store session model?
I have a toy rails app, 2.3.5 on Debian ''squeeze'', that uses the
ActiveRecord session store. I can see that it set cookies and
inserts rows into the database table ''sessions''.
Inside a controller, how do I acquire a reference to the model object
representing the current session? This used to be possible by calling
''session.model'' but in