What are we assumed to have available? If there's a Rails project, the console already exists and using get and eval is unnecessary. If not, are we supposed to re-implement all of ActiveRecord
for database interface? And if we're not using a database interface, nor a webpage, nor an MVC structure, in what sense is this Rails?
You just need to handle the input and output described. This isn't really Rails; the idea is to build a simple program inspired by the Rails console. The actual contest challenges ask to build some additional functionality.