jisaacks / recurse-delete

Rails gem to recursively delete self and all dependent associations without an N+1
25 stars 14 forks source link

Respect cases when primary key column name is not 'id' #10

Closed raeno closed 9 years ago

raeno commented 9 years ago

User can change the primary key column name directly in migration, globally via 'primary_key_prefix_type' or per model via 'set_primary_key'.