Skip to content
This repository
Browse code

Removed another pp debug reference.

  • Loading branch information...
commit 6f2a2dcc75143528f1bb7816bf1b26098d1c3ed4 1 parent d16f4a1
Blake Gentry authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 remarkable_datamapper/spec/model_builder.rb
5 remarkable_datamapper/spec/model_builder.rb
@@ -65,7 +65,6 @@ def define_model(name, columns = {}, &block)
65 65 class_name = name.to_s.pluralize.classify
66 66 table_name = class_name.tableize
67 67 klass = define_model_class(class_name, &block)
68   - pp columns # TODO: REMOVE debug line
69 68 columns.each do |name, type|
70 69 options = {}
71 70 type, options = type if type.class == Array
@@ -81,8 +80,8 @@ def define_model(name, columns = {}, &block)
81 80 end
82 81
83 82 module ClassMethods
84   - # This is a macro to run validations of boolean optionals such as :allow_nil
85   - # and :allow_blank. This macro tests all scenarios. The specs must have a
  83 + # This is a macro to run validations of boolean optionals such as :nullable
  84 + # and :scope. This macro tests all scenarios. The specs must have a
86 85 # define_and_validate method defined.
87 86 #
88 87 def create_optional_boolean_specs(optional, base, options={})

0 comments on commit 6f2a2dc

Please sign in to comment.
Something went wrong with that request. Please try again.