active_record.cr
active_record.cr copied to clipboard
Text column in mysql gives "Encountered unsupported type" error.
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 Most probably the problem originates from crystal-mysql library.
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 .