Skip to content

Instantly share code, notes, and snippets.

@kenjione
Created December 18, 2012 12:47
Show Gist options
  • Save kenjione/4327673 to your computer and use it in GitHub Desktop.
Save kenjione/4327673 to your computer and use it in GitHub Desktop.
moderation data
1.9.3p194 :009 > puts m.data
---
:create:
:attributes:
id:
name: Диван сочный
description: ''
rubric_id: 140
brand_id: 5
style_id: 7
admin_comment: ''
agent_comment:
shop_id: 2
state:
created_at:
updated_at:
country_code: AU
delta: true
country_cache:
:associations:
:variants:
- id:
sku: ''
name: '2'
material_id: 11
product_id:
color_id:
height:
width:
length:
old_agent_price_cents:
agent_price_cents: 100
recommended_price_cents:
old_price_cents:
price_cents:
delivery_date: 2012-12-18
quantity_in_stock: 0
position:
created_at:
updated_at:
published: false
diameter:
variant_image_id:
delta: true
:associations:
:material:
- 11
:variant_images:
- id:
image:
position:
variant_id:
created_at:
updated_at:
image_tmp_file: /home/alex/workplace/theFurnish/public/uploads/tmp/20121218-1635-11720-1078/troll-troll-wario.jpg
=> nil
1.9.3p194 :010 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment