Execute a script by active record, the console is crash.
On my rails application, I write a script like this:
Stakeholder.find_each do |stakeholder|
stakeholder.resource_name = 'aaa'
Then the pry console is crash. I do the same code on rake task and find the same situation.
rvm: 1.16.17 (master)
database: mysql Ver 14.14 Distrib 5.5.28
#1 [ruby-core:50033] Updated by mame (Yusuke Endoh) over 4 years ago
- Status changed from Open to Feedback
- Target version set to 2.0.0
- ruby -v changed from 1.9.3-p286 to ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
Please show us any reproducible code, or, disclose your rails application.
Please assume that we are ignorant about rails, or, contact on rails folks first.
You said "ruby: 1.9.3-p286", but the log says: "ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]".
Yusuke Endoh firstname.lastname@example.org