Foreign_key to foreign_key mapping

tables are created on for examples to show foreign_key to foreign_key

one table
id
ss_id
name

second table
id
false_id
name

belongs_to :falseinformation, :class_name => “One”, :foreign_key =>
“false_id”

now this would map false_id -----> one_id
but i want it to map like this
false_id -------> ss_id

can this be done?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs