Permalink
Browse files

Fix typo, remove whitespace

  • Loading branch information...
sj26 committed Jun 7, 2012
1 parent 4010846 commit 4661d8a92f48777860c203751a9ab39ff2c4484b
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/schema_plus/active_record/connection_adapters/foreign_key_definition.rb
@@ -31,15 +31,15 @@ class ForeignKeyDefinition
# possible values.
attr_reader :on_update
- # The ON_UPDATE behavior for the constraint. See above for the
+ # The ON_DELETE behavior for the constraint. See above for the
# possible values.
attr_reader :on_delete
# True if the constraint is deferrable
attr_reader :deferrable
# :enddoc:
-
+
ACTIONS = { :cascade => "CASCADE", :restrict => "RESTRICT", :set_null => "SET NULL", :set_default => "SET DEFAULT", :no_action => "NO ACTION" }.freeze
def initialize(name, table_name, column_names, references_table_name, references_column_names, on_update = nil, on_delete = nil, deferrable = nil)

0 comments on commit 4661d8a

Please sign in to comment.