I hereby claim:
- I am holamendi on github.
- I am holamendi (https://keybase.io/holamendi) on keybase.
- I have a public key ASC5q3Ra2ib_lIafc8I2boGLGc7JmtCTGu1gmHp-Jo_P6Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/ruby | |
# 1. Replace 00 with the numbers on your card | |
# 2. Run the script: card a1 f2 j5 | |
# 3. Profit | |
CARD = { | |
a: %w(00 00 00 00 00), | |
b: %w(00 00 00 00 00), | |
c: %w(00 00 00 00 00), |
# los drops son para definir que se puede exponer en un template | |
class ProductDrop < Liquid::Drop | |
def initialize(product) | |
@product = product | |
end | |
def name | |
@product[:name] | |
end |
#Turn logs off | |
old_logger = ActiveRecord::Base.logger | |
ActiveRecord::Base.logger = nil | |
#Turn logs on again | |
ActiveRecord::Base.logger = old_logger |