[rails] Model with different foreign_key

create_table "store_categories", force: :cascade do |t|
  t.string   "title"
end

create_table "stores", force: :cascade do |t|
  t.integer  "category_id"
  t.string   "name"
end
class StoreCategory < ActiveRecord::Base
  has_many :stores, foreign_key: :category_id
end
class Store < ActiveRecord::Base
  belongs_to :category, class_name: "StoreCategory"
end