Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 18th, 2017
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
templates = Templates.all
mapped_things = pairs.map do |pair|
object = templates.find{|t| t.id == pair.second }
object = object.dup
object.thing_id = pair.first
object
end.compact
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 7 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 31 min ago | 0.38 KB
Untitled
Bash | 36 min ago | 0.06 KB
Untitled
JavaScript | 40 min ago | 0.79 KB
Untitled
Python | 59 min ago | 3.80 KB
config.yaml
YAML | 1 hour ago | 11.75 KB
How is FXOpen Expanding Its Share CFD Offerin...
PHP | 1 hour ago | 2.95 KB
Exim Test Email Script
Bash | 1 hour ago | 0.75 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!