draknor / myclio

Simple web app to track timestamped bits of data, and later review / analyze it
GNU General Public License v3.0
0 stars 0 forks source link

Save Works with No Datum Type Specified #16

Closed chadrschroeder closed 11 years ago

chadrschroeder commented 11 years ago

If I visit the Enter Data page and do not select a datum type from the dropdown, I can still click Create Datum and a new row will be saved in the data table with no type.

In app/models/datum.rb we should check for the presence of :datumType_id.

draknor commented 11 years ago

This is actually by design. Commit c5a5c4a4e10 "fixed" this, but I plan to "unfix" it in a future commit.