this is doomed to fail.
why?
[...]
It would probably better to integrate a firsbits or btc.to-generator and have THAT code pasted in the wire text field
Thank you Einstein, please have a look at this little bit of code.
class Sale < ActiveRecord::Base
[...]
def self.sales_for(full_btc_address)
Sale.where("(full_btc_address = ?) OR (? LIKE UPPER(CONCAT(received_btc_address, '%')))",
full_btc_address,
full_btc_address.upcase
)
end
[...]
end
I assume I don't need to show you the door.
naaaays.
see, you done thought of that, I like.
sorry if I came across rude, that's just me.
good luck with your endeavours.
I hope everyone remembers to copy their adress in there^^