SyntaxFix
Write A Post
Hire A Developer
Questions
Dumping an ActiveRecord object to JSON (in the Rails console):
pp User.first.as_json # => { "id" => 1, "first_name" => "Polar", "last_name" => "Bear" }