switch to p2c_rails_common