From: "steveklabnik (Steve Klabnik)" Date: 2013-08-06T03:11:17+09:00 Subject: [ruby-core:56401] [ruby-trunk - Bug #7425] Execute a script by active record, the console is crash. Issue #7425 has been updated by steveklabnik (Steve Klabnik). It's been 8 months since some extra feedback was asked for, is there any way we can get this information? ---------------------------------------- Bug #7425: Execute a script by active record, the console is crash. https://bugs.ruby-lang.org/issues/7425#change-40914 Author: fsword (John Lee) Status: Feedback Priority: Normal Assignee: Category: Target version: next minor ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] Backport: On my rails application, I write a script like this: Stakeholder.find_each do |stakeholder| stakeholder.resource_name = 'aaa' stakeholder.save! end Then the pry console is crash. I do the same code on rake task and find the same situation. versions: ruby: 1.9.3-p286 rails: 3.2.8 rvm: 1.16.17 (master) activerecord: 3.2.8 database: mysql Ver 14.14 Distrib 5.5.28 -- http://bugs.ruby-lang.org/