Thank you for your help with this.  I knew I was looking into this and 
making it harder than it needed to be.  It ended up that when I started 
second guessing myself I was troubleshooting the wrong issue.

I was getting nil values on some of my note types which was causing the 
error and this was because I put the column in after I had initially set 
up the database.  Previous notes didn't have a type and thats where my 
problem was.  I was looking at it that I had my relationship set up 
incorrectly and that I wasn't referencing it properly.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to