Added a second argument for head method#286
Conversation
|
I'm not exactly sure if that's right and if some tests are needed. On the first look, I thought that was going to involve many changes. Then I got busy for awhile. Now I took a look again and that's how I understand the task is. Well, it's just one change. But I don't know if anything else is supposed to be added. |
|
Hi @numice Happy to see you back! This is a good start. The next step would be to implement a code that will merge |
|
@rsamoilov Got it. My bad I didn't look at the source code in Rails close enough to get this. |
|
@rsamoilov Hi. Sorry for the delay. I've updated it based on my understanding. Not totally sure if this is it. |
rsamoilov
left a comment
There was a problem hiding this comment.
That's it!
How are you feeling about covering this with tests? I'll be happy to merge once there's test coverage for the change.
Let me know if you need any help.
|
Thank you for taking a look at it. I was actually thinking about adding a test but not entirely sure how to go with it. I will take a look at the existing tests and then try to come up with something. |
Added a second argument for
headmethod incontroller/api.rb