I have a working application and my code works on my laptop, but when I
try it on our production server I come up with this error, but for the
life of me I can't figure out why it is being thrown on one machine and
not the other.
NoMethodError: undefined method `size' for nil:NilClass
This unfortunatly wasn't the problem, but I did manage to figure out I
only got it when running through mod_rails. We just deployed the app to
another server that was rebuilt from scratch and it is working now, so
no idea what the actual cause was.