In Rails 2, when calling instance_eval or instance_exec on a scope, the scope will fetch its records from the database.
instance_eval
instance_exec
Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)
This has been fixed in Rails 3+.