Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 18th, 2018
75
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
scope :archives, select("DISTINCT(date_format(created_at,_utf8'%Y %M')) as year_and_month")
scope :date_is, lambda {|period,date| where("#{period.to_s.upcase}(created_at) = ?", date)}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 7 min ago | 0.38 KB
hiveReader
Lua | 22 min ago | 1.07 KB
madness
GetText | 31 min ago | 0.32 KB
[SvodkaDZ] Config Excample Json File
JSON | 37 min ago | 2.71 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 44 min ago | 0.39 KB
Untitled
C# | 1 hour ago | 0.24 KB
immediately invoked lambda expression
C++ | 1 hour ago | 7.73 KB
Untitled
JavaScript | 3 hours ago | 0.53 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!