Jeff Dean wrote:
> Here's what I did:
> 
> gem install --include-dependencies radiant
> radiant myapp
> cd myapp
> [change database.yml]
> rake db:bootstrap
> rake radiant:freeze:edge
> rake radiant:update
> rake db:migrate
> [create extension...]
> 
> Now you'll have a full copy of radiant's source code in your vendor/
> radiant directory.  Now go to
> 
> vendor/radiant/app/controllers
> 
> You'll see site_controller.rb (which I mistakenly referred to as
> SiteController.rb below) - comment out line 2, and sessions will now
> be enabled for the whole app.  If you've previously started your web
> server, you may have to restart for the changes to take effect.
> 
> There are much more elegant solutions, I'm sure, but this one worked
> for me.  If you have a problem with edge radiant this might not work.
> If that happens, let me know.

Hey Jeff,
         Thanks a lot man, I tried it and it works perfectly.  Just one 
more question. Do you know how to delete that session from the database 
when the session expired. I read some posts and they talked cron jobs 
and things like that but I needed to be handled in my application. Do 
you have a quick solution?

I really appreciate your help man

Maged
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to