###File Structure
This is an example of a component named quote.
app/assets/stylesheets/
├── application.scss
| module ActionDispatch | |
| module Session | |
| class CustomFileStore < ActionDispatch::Session::AbstractStore | |
| def get_session(env, session_id) | |
| session_data = {} | |
| session_id ||= generate_sid | |
| File.open(tmp_file(session_id),'r') do |f| | |
| data = f.read | |
| session_data = ::Marshal.load(data) unless data.empty? | |
| end rescue nil |