Hi! Im new in this forum, and I hope I have not posted in the wrong discussion. Anyway, here is my question: When I look at some guides and someone use the rails console to create an object, the console automatically returns the object, listing all its propertys and values (if it has any). But when I try the same example I can create the object, but there is no return value when I hit return. I just get a new line with the prompt. Why is that? Is there some configuration of the console that I have missed? Or does it have to do with the version of rails? I have version 188.8.131.52.
Here is what it looks like in my terminal (zshell on macos Catalina):
irb(main):001:0> subject = Subject.new(:name => 'First subject', :visible => true) irb(main):001:0>
So, no return value. I was expecting to get a return value like this:
=> #<Subject id: nil, name: "First subject", position: nil, visible: true, created_at: nil, updated_at: nil>
So, any idea why I just get the prompt when I hit return?