This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplyProductStateOrder | |
def initialize(status_change_order) | |
@status_change_order = status_change_order | |
end | |
def call | |
ActiveRecord::Base.transaction do | |
state_change = update_product | |
status_change_order.update_timestamps(state_change) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplyProductStateOrder | |
def initialize(status_change_order) | |
@status_change_order = status_change_order | |
end | |
def call | |
with_valid_state_change do | |
ActiveRecord::Base.transaction do | |
product.send(transition) | |
product.save! |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Location Id,Bing Display Name,Location Type,Replaces,Status,AdWords Location Id | |
1,Albanie,Country,,Active,2008 | |
2,Antarctique,Country,,Active,2010 | |
3,Algérie,Country,,Active,2012 | |
4,Samoa américaines,Country,,Active,2016 | |
5,Andorre,Country,,Active,2020 | |
6,Angola,Country,,Active,2024 | |
7,Antigua-et-Barbuda,Country,,Active,2028 | |
8,Argentine,Country,,Active,2032 | |
9,Australie,Country,,Active,2036 |
OlderNewer