Plugins - object_id_session

StarAdd to favorites

A very simple plugin that allows to store ActiveRecord models over session using their IDs transparently.

So, for example, you are saving User in a session:

session[:user] = User.find(id)
After this, your session will have :user => id and “__user_object_id_session” => User.

Also it seems to handle new records properly.

Yurii Rashkovskii

http://rashkovskii.com/articles/2007/01/02/object_id_session

svn://verbdev.com/rubylibs/object_id_session/trunk

BSD-type

  • Currently 5.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Controllers

Tags

Comments

Add a comment
Mké 16 Mar 2008

svn repository not reachable : connection refused ??

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?