iprog.com

Rails plugin Limited Sessions updated

I updated my limited_sessions plugin to improve support for Rails 2.1. It should maintain backwards compatibility.

The change surrounds Rails 2.1’s new partial updates support. Basically, it’s turned off for sessions so the session is kept current and doesn’t expire if the user is active.

limited sessions

tags: plugins, limited_sessions, ruby, rails

by Bassel

Hello, I’m using limited session with engines. I was pretty excited about going to 2.3 for engines support, but now I have to go through and either update plugins or get the latest version. So I was wondering if you had any near future plans of pushing an updated version for 2.3.

by Bassel

Ok, I updated it, but I have not tested very well with it yet, but it works. Let me know if you want the code. It was just basic renaming of packages to fit the latest changes.

by tm

I just published a Rails 2.3 compatible version of limited sessions. If you find that you did anything differently, let me know. I’d certainly be interested to compare notes.

Most of the changes were pretty straightforward. I did have to do more than just renaming to get the IP checking features to work reliably though.