You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using some DB specific data type that rails doesn't know, Model's column type is nil.
But there's also an attribute called sql_stype which could be used as fallback when type is unknown.
Here is a sample model column using a PG custom TYPE:
When using some DB specific data type that rails doesn't know, Model's column type is nil.
But there's also an attribute called
sql_stype
which could be used as fallback when type is unknown.Here is a sample model column using a PG custom TYPE:
The text was updated successfully, but these errors were encountered: