Skip to content

Commit

Permalink
Merge pull request #7 from elabs/patch-1
Browse files Browse the repository at this point in the history
Remove unused local variable
  • Loading branch information
Josh Bassett committed Mar 20, 2012
2 parents a2a9f3b + 34e889e commit 4839923
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rein/constraint/foreign_key.rb
Expand Up @@ -23,7 +23,6 @@ def add_foreign_key_constraint(referencing_table, referenced_table, options = {}

def remove_foreign_key_constraint(referencing_table, referenced_table, options = {})
referencing_attribute = options[:referencing] || "#{referenced_table.to_s.singularize}_id".to_sym
referenced_attribute = "id".to_sym

name = options[:name] || "#{referencing_attribute}_fk".to_sym

Expand Down

0 comments on commit 4839923

Please sign in to comment.