daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # En el nightt.net (mysql 4):
  2. >> User.find_by_sql("select least(1, null) from users limit 1")
  3. => [#<User:0xb77141a4 @attributes={"least(1, null)"=>"1"}>]
  4.  
  5. # En mi workspace (mysql 5):
  6. >> User.find_by_sql("select least(1, null) from users limit 1")
  7. => [#<User:0x4574f8c @attributes={"least(1, null)"=>nil}>]
RAW Paste Data
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
 
Top