# Camels?

**URL:** <https://www.ruby-forum.com/t/camels/65644>\
**Category:** Typo\
**Created:** [August 20, 2006, 6:12am UTC](https://www.ruby-forum.com/t/camels/65644 "2006-08-20T06:12:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ea5d25/32.png) [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Post date:** [August 20, 2006, 6:12am UTC](https://www.ruby-forum.com/t/camels/65644/1 "2006-08-20T06:12:14Z")

</div>

Just tried an svn up on my local install and migrate threw out an error:

# == UpgradeSidebarObjects: migrating

– add\_column(:sidebars, :type, :string)  
-\> 0.6297s  
– About to call find\_and\_update  
– remove\_column(:sidebars, :type)  
-\> 0.6988s  
rake aborted!  
You have a nil object when you didn’t expect it!  
The error occured while evaluating nil.camelcase

Camelcase?

Need any more info?

Gary

---

<div class="post-metadata">

**Author:** ![Gary\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ea5d25/32.png) [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Post date:** [August 20, 2006, 7:02am UTC](https://www.ruby-forum.com/t/camels/65644/2 "2006-08-20T07:02:19Z")

</div>

Gary S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

> You have a nil object when you didn’t expect it!  
> The error occured while evaluating nil.camelcase
> 
> Camelcase?

YouKnowCamelcase

Of more concern is the fact that you’ve got some sidebars with a null  
in the ‘controller’ column. I’ll rejig the migration to dump out a  
little more information so you can try and track down what’s amiss.

---

<div class="post-metadata">

**Author:** ![Gary\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ea5d25/32.png) [@Gary\_S](https://www.ruby-forum.com/u/Gary_S)\
**Post date:** [August 20, 2006, 1:16pm UTC](https://www.ruby-forum.com/t/camels/65644/3 "2006-08-20T13:16:37Z")

</div>

On 20 Aug 2006, at 06:03, Piers C. wrote:

> > – remove\_column(:sidebars, :type)  
> > in the ‘controller’ column. I’ll rejig the migration to dump out a  
> > little more information so you can try and track down what’s amiss.

Don’t waste your time Piers, that helped me track it down. I thought  
the local install I had was an old mirror, but it’s full of junk  
after running tests. Something tells me when I populate it with a  
copy of live data the migration will be fine. My bad 😕
