Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 19th, 2018
89
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Users < Application
def update
@user = User.find(params[:id])
if @user.with_access_to(:staff, :banned).update_attributes(params[:user])
# success
end
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 2 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 4 min ago | 0.38 KB
2024-05-12_stats.json
JSON | 11 min ago | 5.18 KB
2024-05-12_stats.json
JSON | 13 min ago | 5.17 KB
2024-05-12_stats.json
JSON | 14 min ago | 5.13 KB
set-editor
Bash | 52 min ago | 1.54 KB
honey treat
PHP | 54 min ago | 26.58 KB
micro-install
Bash | 1 hour ago | 0.61 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!