-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Minor documentation update about usage of options and scope #341
Conversation
ahmeij
commented
Jun 19, 2013
- Be a bit more clear on the use of scope (fixing Documentation incorrectly advises use of "current_user" instead of "scope" #322)
- Bring up the details on how to pass options
Thanks, this is important stuff to know! |
@ahmeij can you rebase this against master?. Thanks. |
@spastorino I've done a lot of magic to get this to work, but I think I've got it. In theory the pull request should be up-to-date now, let me know if it is ok please. |
Could you squash those commits in one? thanks @ahmeij for the patch. |
attributes :title, :body, :special | ||
|
||
def include_special? | ||
options[:do_something_special] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@options
here, there's no accessor anymore in master.
Basically the entire pull-request is outdated compared to master, lets just drop it. |