Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
make_current method
VladikOtez
Jun 2nd, 2017
2,072
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rails
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
make_current!
@decks
= Deck.
where
(
current:
true
)
#AR::Relation ??
@decks
.
map
!
{
|
deck
|
deck.
current
=
false
}
self
.
current
=
true
save
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Swapzone Glitch ✅ Working
JavaScript | 9 sec ago | 0.25 KB
⭐ChangeNOW Bug (Get more on BTC swaps)
JavaScript | 20 sec ago | 0.25 KB
⭐ Jack's Profit Method ⭐
JavaScript | 31 sec ago | 0.25 KB
⭐ Trading Profit Method ⭐
JavaScript | 44 sec ago | 0.25 KB
⭐ Free SOLANA Method ⭐
JavaScript | 56 sec ago | 0.25 KB
Free Crypto Method ✅ NEVER SEEN BEFORE
JavaScript | 1 min ago | 0.25 KB
✅ Crypto Exchange Exploit
JavaScript | 1 min ago | 0.25 KB
⭐ MAKE $2500 IN 15 MIN ⭐
JavaScript | 1 min ago | 0.25 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!