I already know how to set expiry time duration in rails app, which has been documented very well on web. But what I want to know is what is the default time duration for ses
Rails doesn't have a default expiration time. The method definition for session_store seems to have only one default:
On line 32 @session_store = :cookie_store
By default the other configurations are non existent. Therefore, :expire_after is not set and Rails' sessions don't have expiration time unless you set a value for it.