4 ms·
I've got an error, lambda functions inside schema aren't recognized; f.e.: t.datetime "created_at", default: -> { "now()" }
by izietto 8y ago
I've got an error, lambda functions inside schema aren't recognized; f.e.:
t.datetime "created_at", default: -> { "now()" }
- huy 8y agoThanks for this! Looks like we haven't handled all the custom syntax cases properly. Will sort it out shortly! For now, a workaround is to remove those lambda and it should work!