This is how the before_thumbnail_saved callback works now:
before_thumbnail_saved do |thumbnail|
record = thumbnail.parent
thumbnail.item_id = record.item_id
end
Keep going, take small steps. And keep smiling.
before_thumbnail_saved do |thumbnail|
record = thumbnail.parent
thumbnail.item_id = record.item_id
end
No comments:
Post a Comment