-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document sheet_for
in README
#451
base: master
Are you sure you want to change the base?
Conversation
@MicahBrown thank you for opening this PR. What about adding a method sheet! (with bang, same functionality as sheet), and add depreciation warning in sheet method which could be removed in some major release. Depreciation warning can also include short description of both sheet_for and sheet! as alternate suggestion |
The sounds like a great idea. I might even go one step further and rename
"sheet" to "default_sheet!" or "set_default_sheet!"
…On Thu, Sep 13, 2018 at 9:00 PM Anmol Chopra ***@***.***> wrote:
@MicahBrown <https://github.com/MicahBrown> thank you for opening this
PR. What about adding a method sheet! (with bang, same functionality as
sheet), and add depreciation warning in sheet method which could be removed
in some major release. Depreciation warning can also include short
description of both sheet_for and sheet! as alternate suggestion
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#451 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEDXRjl0_-q0kz2SEd3eMGO0BJtKWM4tks5uaxvDgaJpZM4WohZt>
.
|
The functionality of I'm open for better method name over |
"set_default" ?
…On Thu, Sep 13, 2018 at 10:40 PM Anmol Chopra ***@***.***> wrote:
default_sheet! and set_default_sheet! will be confusing give than we have
default_sheet and default_sheet=
The functionality of sheet and default_sheet= differs which will make it
more confusing.
I'm open for better method name over sheet!, but default_sheet! &
set_default_sheet! is not a good option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#451 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEDXRl-cvNSXB_PB2lADMt2yEsF1spDoks5uazMsgaJpZM4WohZt>
.
|
Method name doesn't say it has anything to do with sheet. And generally in ruby we do not prefer |
@MicahBrown I think @chopraanmol1 is getting at a couple of things here:
I would love to see you implement the |
There is a bunch of discussion in this thread that is not specially relevant to this PR which would be a useful addition to the documentation. Can we merge this PR and link to this discussion from the appropriate issue thread? Edit: A possible reason to not merge this: #455 (comment) |
PR for #447
@tgturner