It seems like AR is auto-converting the string from form into an
integer (for an attribute of an integer column). However, for custom
validation I don’t want it to do this - I want to have access to the
I create the model like this:
@model = Model.new(params[:model])
Yet, in Model, logger.info column_name shows 5
(params[:model][:column_name] = 5.6).
Any clues on how to change this?
Thanks a lot,