Skip to content

Commit

Permalink
Use boolean rather than checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Tillman committed Nov 17, 2011
1 parent 1274e56 commit cf7d139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/fields/field.rb
Expand Up @@ -16,7 +16,7 @@ class Field < ActiveRecord::Base
'select' => :string,
'radio' => :string,
'check_boxes' => :text,
'checkbox' => :boolean,
'boolean' => :boolean,
'date' => :date,
'datetime' => :timestamp,
'decimal' => [:decimal, {:precision => 15, :scale => 2}],
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/super_tags.rake
Expand Up @@ -14,7 +14,7 @@ namespace :super_tags do
'long_answer' => 'text',
'select_list' => 'select',
'multi_select' => 'check_boxes',
'checkbox' => 'checkbox',
'checkbox' => 'boolean',
'date' => 'date',
'datetime' => 'datetime'
}
Expand Down

0 comments on commit cf7d139

Please sign in to comment.