Skip to content

Commit

Permalink
Merge pull request matthuhiggins#93 from msadouni/patch-1
Browse files Browse the repository at this point in the history
fix an example in remove_foreign_key docs
  • Loading branch information
matthuhiggins committed Sep 5, 2012
2 parents 54bd87f + b0d6b4c commit 960d1f6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ def foreign_key(to_table, options = {})
# end
# ====== Remove the foreign key named party_foreign_key in the accounts table.
# change_table :accounts do |t|
# t.remove_index name: :party_foreign_key
# t.remove_foreign_key name: :party_foreign_key
# end
def remove_foreign_key(options)
@base.remove_foreign_key(@table_name, options)
Expand Down

0 comments on commit 960d1f6

Please sign in to comment.