New user: “Um hello is there a good reason why my bio can't be more characters??”
Me, dead serious: “No.”
Me, dead serious: “No.”
@shel Sorry it's Rails.config.x.max_chars the x cones after config. So if you're talking like this:
validates :note, length: { maximum: 160 }, if: 'local?'
should be this:
validates :note, length: { maximum: Rails.config.x.max_chars }, if: 'local?'