Reputation: 34013
When I add a value to an instance object in the controller, like so:
@post = Post.new(published: false)
I expected it to show up in the params, or SOMEWHERE in the server logs or SOMEWHERE inspecting the web console (the Net tab in FF).
But I cannot see it being transferred in any other way than by displaying it in a form field.
What alternative ways are there to debug instance object values?
Upvotes: 0
Views: 25