{"push_id":1244056062,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"552289200049851540393db2dbf142ab311ced1e","before":"7b6d023999602c8c40287f1b8ab04c1ccbcf8ad4","commits":[{"sha":"91392b708da0c23e914523d5a8bde17d9fec121c","author":{"name":"Kasper Timm Hansen","email":"e8140a2fc82ae7ffe21cdbfaa9bddf73bdec8a9d@gmail.com"},"message":"Add back pretty formatting of non-symbol attributes.\n\n3efb3595, switched around a bunch of code, but also scoped `pretty_format`-ing to only\nsymbol attributes.\n\nThis broke formatting in our app. In Active Admin v1.0.0.pre2 code like:\n\n```ruby\nshow do\n  attributes_table do\n    row :mobile_subscription do\n      subscription # ActiveRecord::Base object.\n    end\n  end\nend\n```\n\nwould auto link the returned model, but pre4 merely returns a `inspect` like output.\n\nI think scoping `pretty_format` to only symbol attributes was an oversight as the\nmethod clearly knows how to handle lots of different objects.\n\nThis refines `format_attribute` so we can still get nice status tags for boolean\nfields, but get pretty formatted output for the rest of the values like pre2 and\nearlier did.","distinct":true,"url":"https://api.github.com/repos/activeadmin/activeadmin/commits/91392b708da0c23e914523d5a8bde17d9fec121c"},{"sha":"552289200049851540393db2dbf142ab311ced1e","author":{"name":"Timo Schilling","email":"100568d83110d922ae6f6a0f40a19c9f3934cc3d@schilling.io"},"message":"Merge pull request #4538 from kaspth/repretty-non-symbol-attributes\n\nAdd back pretty formatting of non-symbol attributes.","distinct":true,"url":"https://api.github.com/repos/activeadmin/activeadmin/commits/552289200049851540393db2dbf142ab311ced1e"}]}
{"actor":{"display_login":"timoschilling"}}