Explorar o código

Corrected typo in migration in install.rb

A small typo which prevented correct migration: refrences -> references
Sebastian Rehm %!s(int64=9) %!d(string=hai) anos
pai
achega
487dd4efc7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/generators/blazer/templates/install.rb

+ 1 - 1
lib/generators/blazer/templates/install.rb

@@ -18,7 +18,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration
     end
 
     create_table :blazer_dashboards do |t|
-      t.refrences :creator
+      t.references :creator
       t.text :name
       t.timestamps
     end