{"push_id":677198774,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"d81f147003edcb788e18b36d6351e8787c46b2fc","before":"1ed92a2ee192631b8beac8f51a3af209c8d1bc8a","commits":[{"sha":"908cfef6e2f2c888e02b89fc74888786efda2a45","author":{"email":"f8b057b45279f5cf5e056a79e479e4c5c7e6ce59@gmail.com","name":"George Claghorn"},"message":"Resolve enums in test fixtures\n\nCurrently, values for columns backing Active Record enums must be\nspecified as integers in test fixtures:\n\n    awdr:\n      title: \"Agile Web Development with Rails\"\n      status: 2\n\n    rfr:\n      title: \"Ruby for Rails\"\n      status: <%= Book.statuses[:proposed] %>\n\nThis is potentially confusing, since enum values are typically\nspecified as symbols or strings in application code. To resolve the\nconfusion, this change permits the use of symbols or strings to specify\nenum values:\n\n    awdr:\n      status: :published\n\nIt is compatible with fixtures that specify enum values as integers.","distinct":true,"url":"https://api.github.com/repos/rails/rails/commits/908cfef6e2f2c888e02b89fc74888786efda2a45"},{"sha":"d81f147003edcb788e18b36d6351e8787c46b2fc","author":{"email":"84c66fc058fe65d1bb08ca33b21bfe0fa5cb8f17@gmail.com","name":"Rafael Mendonça França"},"message":"Merge pull request #20171 from georgeclaghorn/enums-in-fixtures\n\nAllow the use of symbols or strings to specify enum values in test fixtures","distinct":true,"url":"https://api.github.com/repos/rails/rails/commits/d81f147003edcb788e18b36d6351e8787c46b2fc"}]}