Icon_search

Items tagged with "private method symbol errors rails"

Show:  All  |  News Items  |  Blog Posts

News Items

There are no news releases with that tag.


Blog Posts

private method `split' called for Symbol

Aug 12, 2008 by Colin

Thank God for Lighthouse. I got this error (private method `split' called for :id:Symbol, in my case) because my has_many statement had :order => :id specified (yes, it looks a trivial order; it's legacy code, so give me a break). Aha! We shouldn't be using symbols to represent table columns in our has_many statements. We're really talking about an SQL fragment...

Tagged: private method symbol errors rails