We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting
syntax error, unexpected keyword_end, expecting end-of-input
for line
if current_user.can_read @folder || current_user.can_write @folder
I was able to get it to work by changing it to
if current_user.can_read(@folder) || current_user.can_write(@folder)
The text was updated successfully, but these errors were encountered:
Same here, same workaround
Sorry, something went wrong.
Same here! Im using Centos 7 and Ruby 2.5 installed from Software Collections.
No branches or pull requests
I am getting
for line
if current_user.can_read @folder || current_user.can_write @folder
I was able to get it to work by changing it to
if current_user.can_read(@folder) || current_user.can_write(@folder)
The text was updated successfully, but these errors were encountered: