Skip to content

Has and Belongs to Many Association #1

Closed
gisikw opened this Issue Jun 10, 2009 · 1 comment

1 participant

@gisikw
Collaborator
gisikw commented Jun 10, 2009

rake db:from_yaml generates an incorrect YAML file for has_and_belongs_to_many through records when record is two words or more.

Example:
def ContactMethod
has_and_belongs_to_many :alums
end

Resulting YAML:
alum5:
alum_id: 3707
contactmethod_id: 6

Where, it should be:
alum5:
alum_id: 3707
contact_method_id: 6

@gisikw
Collaborator
gisikw commented Jun 10, 2009

Fix has_and_belongs_to_many dumps, also fixes issues with chunking records with db:to_yaml. Closed by 223a1d6

bugfix for habtm

Fixes for rails version, fixes for chunking, fixes for export of records, displaying import and export status

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.