Accessing session data using session_id

Published on

This is the very rare case but some times we need to access the data stored in session through session_id(specially when the request is not coming from browser). Here is a way I found and like to share: [source:ruby] @user=CGI::Session::ActiveRecordStore::Session.find_by_session_id(@session_id).data[:user] [/source]

Ruby On Rails Search engine for Mozilla Firefox

Published on

Some days ago we created a customized google search engine for ROR, now you can use this search engine with Mozilla Firefox. What you have to do is: Download rails_search.xml, save it in your searchplugins directory under Mozilla FireFox installation path (usually it is  C:\Program Files\Mozilla Firefox\searchplugins) and you are done. Restart FireFox and Rails … Continue reading Ruby On Rails Search engine for Mozilla Firefox