Skip to content
  • Prem Sichanugrist's avatar
    b2710525
    Add config.disable_sandbox option to Rails console · b2710525
    Prem Sichanugrist authored
    A long-running `rails console --sandbox` could cause a database server
    to become out-of-memory as it's holding on to changes that happen on the
    database.
    
    Given that it's common for Ruby on Rails application with huge
    traffic to have separate write database and read database, we should
    allow the developers to disable this sandbox option to prevent someone
    from accidentally causing the Denial-of-Service on their server.
    b2710525
    Add config.disable_sandbox option to Rails console
    Prem Sichanugrist authored
    A long-running `rails console --sandbox` could cause a database server
    to become out-of-memory as it's holding on to changes that happen on the
    database.
    
    Given that it's common for Ruby on Rails application with huge
    traffic to have separate write database and read database, we should
    allow the developers to disable this sandbox option to prevent someone
    from accidentally causing the Denial-of-Service on their server.
Loading