CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 19:20:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=b060a06bc6e879f32f07fe28277370624bc4a63e074913e5d56c15ed1d3600b6a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22TUjmtvF5dLGii3K_tjcYiy3KyqVRpId3%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d0b72a4f883e92-BLR
Interactor - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ReviewCard
- include Interactor
- def call
- id = context.id
- translation = context.translation
- card = Card.find(id)
- answer = card.check_translation translation
- answer ? context.message = 'Correct' :
- context.message = 'Incorrect'
- end
- end
- --------------------------------------------------------------------------
- def review_card
- result = ReviewCard.call(
- id: params[:card_id],
- translation: trainer_params[:translation]
- )
- @card = result.card
- if result.success?
- @card.refresh_review_date
- redirect_back
- else
- redirect_to trainer_index_path
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 5 sec ago | 0.25 KB
-
📝 EASY MONEY GUIDE ✅ Working
JavaScript | 7 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 7
JavaScript | 14 sec ago | 0.25 KB
-
📌 ChangeNOW Exploit
JavaScript | 16 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $500 IN 15 MIN⭐⭐
Java | 21 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 1
JavaScript | 23 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ E
JavaScript | 32 sec ago | 0.25 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 33 sec ago | 0.10 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