Flowdock
method

session_table_name

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::SessionMigrationGenerator
session_table_name() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/session_migration/session_migration_generator.rb, line 15
        def session_table_name
          current_table_name = ActiveRecord::SessionStore::Session.table_name
          if current_table_name.in?(["sessions", "session"])
            current_table_name = (ActiveRecord::Base.pluralize_table_names ? 'session'.pluralize : 'session')
          end
          current_table_name
        end
Register or log in to add new notes.