method

create_table!

rails latest stable - Class: CGI::Session::ActiveRecordStore::SqlBypass

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

create_table!()
public

No documentation available.

# File actionpack/lib/action_controller/session/active_record_store.rb, line 201
          def create_table!
            @@connection.execute "CREATE TABLE \#{table_name} (\nid INTEGER PRIMARY KEY,\n\#{@@connection.quote_column_name(session_id_column)} TEXT UNIQUE,\n\#{@@connection.quote_column_name(data_column)} TEXT\n)\n"
          end