Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 22nd, 2013
87
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rails
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
class
User
<
ActiveRecord::Base
attr_accessible
:email
,
:name
,
:password
def
self
.
login
(
username, password
)
where
(
name: username, password: password
)
.
first
end
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Changelly.com Exploit
CSS | 3 min ago | 0.99 KB
Reproducible rate discrepancy
CSS | 13 min ago | 0.99 KB
I got $12,000 from this bug
CSS | 23 min ago | 0.99 KB
This month smells like money
CSS | 33 min ago | 0.99 KB
✅ Admin Password
CSS | 44 min ago | 0.99 KB
dev loader method
CSS | 54 min ago | 0.99 KB
NWZ – einspaltig: rechte Spalte weg, volle Br...
2 hours ago | 2.56 KB
NWZonline – Volltext im Original-Style
3 hours ago | 8.55 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!