Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @destination = Destination.find :all, :select => "destinations.cost" :joins => {:rate_card => :cards } :conditions => ["cards.card_number = ? AND destinations.prefix = ?",@pin_from_dtmf,@prefix_from_dtmf]
Add Comment
Please, Sign In to add comment