Conversation
Register
Sign in
*Total -- 2,192.68kb -> 1,885.65kb (14%) /public/uploads/motorcycle/image/3/Screenshot_from_2022-05-16_20-24-02.png -- 251.87kb -> 205.93kb (18.24%) /public/uploads/motorcycle/image/1/Screenshot_from_2022-05-16_20-24-02.png -- 251.87kb -> 205.93kb (18.24%) /public/uploads/motorcycle/image/2/Screenshot_from_2022-05-16_20-24-02.png -- 251.87kb -> 205.93kb (18.24%) /public/uploads/motorcycle/image/2/Screenshot_from_2022-05-15_18-02-26.png -- 500.88kb -> 439.65kb (12.22%) /public/uploads/tmp/1652706439-434801145931843-0006-4248/Screenshot_from_2022-05-15_18-02-26.png -- 500.88kb -> 439.65kb (12.22%) /public/uploads/motorcycle/image/2/default_Screenshot_from_2022-05-15_18-02-26.png -- 90.78kb -> 79.81kb (12.08%) /public/uploads/tmp/1652706439-434801145931843-0006-4248/default_Screenshot_from_2022-05-15_18-02-26.png -- 90.78kb -> 79.81kb (12.08%) /public/uploads/motorcycle/image/2/default_Screenshot_from_2022-05-16_20-24-02.png -- 62.85kb -> 55.44kb (11.8%) /public/uploads/motorcycle/image/3/default_Screenshot_from_2022-05-16_20-24-02.png -- 62.85kb -> 55.44kb (11.8%) /public/uploads/motorcycle/image/1/default_Screenshot_from_2022-05-16_20-24-02.png -- 62.85kb -> 55.44kb (11.8%) /public/uploads/tmp/1652706439-434801145931843-0006-4248/thumb_Screenshot_from_2022-05-15_18-02-26.png -- 2.21kb -> 2.00kb (9.54%) /public/uploads/motorcycle/image/2/thumb_Screenshot_from_2022-05-15_18-02-26.png -- 2.21kb -> 2.00kb (9.54%) /public/uploads/motorcycle/image/2/thumb_Screenshot_from_2022-05-16_20-24-02.png -- 1.77kb -> 1.62kb (8.53%) /public/uploads/motorcycle/image/1/thumb_Screenshot_from_2022-05-16_20-24-02.png -- 1.77kb -> 1.62kb (8.53%) /public/uploads/motorcycle/image/3/thumb_Screenshot_from_2022-05-16_20-24-02.png -- 1.77kb -> 1.62kb (8.53%) /public/uploads/motorcycle/image/1/default_3.jpg -- 12.04kb -> 11.49kb (4.61%) /public/uploads/motorcycle/image/1/default_1.jpg -- 21.72kb -> 21.13kb (2.72%) /public/uploads/tmp/1652784708-545125553834720-0001-7998/default_1.jpg -- 21.72kb -> 21.13kb (2.72%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
[ImgBot] Optimize images
mosesogwo
left a comment
There was a problem hiding this comment.
Hi team,
Good job so far!
There are some issues to be handled that will make your project superb.
Highlights
Good job with restful controller actions and keeping best practices.
Suggested Changes ♻️
- Revert changes made to the linter config.
- Make sure that tests are passing.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
|
|
||
| ## Acknowledgments | ||
|
|
||
| - Hat tip to anyone whose code was used ! |
There was a problem hiding this comment.
It's better to acknowledge a particular person or material that was helpful in building the project
| end | ||
|
|
||
| def update | ||
| # @motorcycle = Motorcycle.find(params[:id]) |
| end | ||
|
|
||
| def destroy | ||
| # @motorcycle = Motorcycle.find(params[:id]) |
| end | ||
|
|
||
| def show | ||
| # show particular motorcycle for reservation |
mosesogwo
left a comment
There was a problem hiding this comment.
Hi team,
Good job so far!
There are some issues to be handled that will make your project superb.
Highlights
Good job with restful controller actions and keeping best practices.
Suggested Changes ♻️
- Revert changes made to the linter config.
- Make sure that tests are passing.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
* Validate the presence of a scooter before reservation or delete and throw the right error * fix linters erors * change motocyrcle tp scooter * Add user id to a scooter * Fix linter errors
* Validate the presence of a scooter before reservation or delete and throw the right error * fix linters erors * change motocyrcle tp scooter * Add user id to a scooter * Fix linter errors * Fix scooter bugg
This API contains :
Note: Click here for the frontend PR