active_record.cr icon indicating copy to clipboard operation
active_record.cr copied to clipboard

Text column in mysql gives "Encountered unsupported type" error.

Open elorest opened this issue 7 years ago • 2 comments

I would expect that text columns in mysql would come through as strings in ActiveRecordCr but instead it just prints a warning and stays nil if you call model.body which is a text field. Oddly enough I can write to it just fine though.

elorest avatar Mar 28 '17 18:03 elorest

@elorest Most probably the problem originates from crystal-mysql library.

waterlink avatar Mar 28 '17 18:03 waterlink

Thanks.

Isaac Sloan - isaacsloan.com Artisan Rails Architect 1391 S Slate Canyon Dr. Provo, Ut 84606 Cell: (435)-669-5005

On Tue, Mar 28, 2017 at 12:35 PM, Oleksii Fedorov [email protected] wrote:

@elorest https://github.com/elorest Most probably the problem originates from crystal-mysql library.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/waterlink/active_record.cr/issues/63#issuecomment-289863868, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHmpEo_XDiI251aKH4jPquhHqo0zLuhks5rqVLwgaJpZM4Mr_C8 .

elorest avatar Mar 28 '17 21:03 elorest