{"push_id":864067761,"size":15,"distinct_size":3,"ref":"refs/heads/master","head":"dc6984a9bf05ebbcb18e7d1793cccb07e0e444fc","before":"2400fbabdfe7a27a1da3f37889006921a6c95730","commits":[{"sha":"0a53e843e4c6fa942eb0d109e87a9ad15d81df7f","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"create Person and Closet model\n\ncreate Person model, Closet model and migrate.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/0a53e843e4c6fa942eb0d109e87a9ad15d81df7f"},{"sha":"614b4cfa241d29f40bb9d5713055895a9795cdf1","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"create collection and item model\n\ncreate collection and item model. update models relationship between\nperson, closet, collection and item.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/614b4cfa241d29f40bb9d5713055895a9795cdf1"},{"sha":"17883688355a000c38dd092d53eb0910374c7cff","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"restructer database tables\n\ndelete closets, books and people table. delete closet, book models.\ncreate UserProfiles table and model","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/17883688355a000c38dd092d53eb0910374c7cff"},{"sha":"9dbb786ebe2f61b7cd12bb18fa7f1521212f236c","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"update ItemsController\n\nadd and update ItemsController.\nadd items resources to Routes and add new migration to add foreign key\nto user_profile.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/9dbb786ebe2f61b7cd12bb18fa7f1521212f236c"},{"sha":"c8655d3d3c455949b78d8db22015f5ba7e5ddf0f","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"delete user_profiles table\n\ndelete user_profiles table and UserProfileReferenceToUser","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/c8655d3d3c455949b78d8db22015f5ba7e5ddf0f"},{"sha":"104d7060c7918b08529d5631b664f3dbe647fa93","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"add CollectionsController and ProfilesController\n\nadd CollectionsController and ProfilesController.\ncreate model Profile and remove model User_Profile\nupdate models/user.rb from has_one :user_profile to has_one :profile\nadd routes for collections","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/104d7060c7918b08529d5631b664f3dbe647fa93"},{"sha":"3f90c4b9b3aa7a51b9342700b021db9ef3497be8","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"update routes with profiles\n\nadd profiles resources to routes","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/3f90c4b9b3aa7a51b9342700b021db9ef3497be8"},{"sha":"fd53eb1bfdcc1254c0a70c5b7bf7ee129685384e","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"fix Items_controller\n\nfix index, show, create, update, destroy methods  and tested them on\nPostman, worked fine.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/fd53eb1bfdcc1254c0a70c5b7bf7ee129685384e"},{"sha":"687782b754b4d349b4e86f70397c25f01d08cce9","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"change user routes in routes.rb\n\n CHANGE from post '/login' => 'auth#login'\nTO\n  patch '/login' => 'auth#login'","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/687782b754b4d349b4e86f70397c25f01d08cce9"},{"sha":"98b80ffcd3c70c9370fbf5999ec87708033a7759","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"fix CollectionsController\n\nfix CollectionsController index,show,create,update and destroy methods.\nRun test on Postman. All methods work fine.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/98b80ffcd3c70c9370fbf5999ec87708033a7759"},{"sha":"d012000711610de58d39a0e06c538ea50f076bd0","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"update Profiles_controller\n\nfix and update index,show,create, update and destroy methods.\nRun test on methods.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/d012000711610de58d39a0e06c538ea50f076bd0"},{"sha":"39b6c3e9141dba4281feab7321e5cc402d77f781","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"add photo_url column to Collections\n\ncreate new migration to add photo_url column to Collections.","distinct":false,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/39b6c3e9141dba4281feab7321e5cc402d77f781"},{"sha":"93796efd5d53657b3a336f7312b662af12f2c0cb","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"update profiles routes\n\nchanged from using the resources: profiles to:\nget \"/profiles\", to: \"profiles#show\"\n  post \"/profiles\", to: \"profiles#create\"\n  patch \"/profiles\", to: \"profiles#update\"\n  delete \"/profiles\", to: \"profiles#destroy\"\nbecause each user only has one profile, no profile id needed.","distinct":true,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/93796efd5d53657b3a336f7312b662af12f2c0cb"},{"sha":"bf77c12dd6028e894e87c1b9ccaeb9e031841e37","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"fix create method for profile\n\nfix create method and remove location.","distinct":true,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/bf77c12dd6028e894e87c1b9ccaeb9e031841e37"},{"sha":"dc6984a9bf05ebbcb18e7d1793cccb07e0e444fc","author":{"email":"6c0254f1e826b796aafd2a396e6f7281200b5ae5@gmail.com","name":"leahphuong"},"message":"update collections_controller\n\nadd photo_url to params","distinct":true,"url":"https://api.github.com/repos/leahphuong/project2-api/commits/dc6984a9bf05ebbcb18e7d1793cccb07e0e444fc"}]}