private Method

Fixtures.has_primary_key_column?

There's no documentation for this item.

Source Code

# File active_record/fixtures.rb, line 666
def has_primary_key_column?
  @has_primary_key_column ||= model_class && primary_key_name &&
    model_class.columns.find { |c| c.name == primary_key_name }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.