Guest User

Untitled

a guest
Oct 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def self.my_query
  2. t = arel_table
  3. relation = t[:appointment_number].lt(0).and(t[:appointment_number].gt(0)).and(t[:amount].gt(0.0))
  4. where(relation)
  5. end
Add Comment
Please, Sign In to add comment