BookingSync / synced

Keep your BookingSync Application synced with BookingSync
MIT License
3 stars 2 forks source link

move default value of data_key fetch to block #81

Closed StoneFrog closed 7 years ago

Azdaroth commented 7 years ago

@StoneFrog What's the need?

StoneFrog commented 7 years ago

@Azdaroth crashes specs on one of the apps since loads model before loading schema. As a result it tries to access column_names but there is no such table in db at that point which causes all operation to fail

Azdaroth commented 7 years ago

@StoneFrog StoneFrog deleted a comment from Azdaroth 17 seconds ago :doge:

thilonel commented 7 years ago

@StoneFrog what's the error that got raised?

StoneFrog commented 7 years ago

@thilonel ActiveRecord::StatementInvalid: PG::UndefinedTable Why do you ask?

thilonel commented 7 years ago

@StoneFrog just to know, in case.

StoneFrog commented 7 years ago

@thilonel Will be helpful if you use jsonapi resources.