Jump to content
Banner by ~ Wizard
  • entries
    14
  • comments
    44
  • views
    7,741

Chasing bugs is not that fun


Neikos

804 views

So on my application, when creating a character you are able to enter a description. The problem was that it got cut off at a certain length. ( 255 characters to be exact )

 

I was quite puzzled about this since I haven't added anything that would truncate it.

About half an hour later it hit me... the database column was a varchar with a length set to 255. A default by rails that I forgot to change. I then had to go trough the database and change anything that needed to be longer than that to the TEXT type.

 

Yeah, my day wasn't the most exciting one.

  • Brohoof 3

2 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...