Forum: Ruby on Rails `const_missing':NameError: uninitialized constant {const_id}

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Thani A. (Guest)
on 2008-11-10 08:17
magic_multi_connection-1.2.1 -error

when i start console i got this error

`const_missing':NameError: uninitialized constant {const_id}

any idea ?
Priyanka P. (Guest)
on 2009-10-03 09:21
       I also have same problem. but i fix it by making patch in
lib/connected.rb of magic_multi_connections gem.


raise ( "uninitialized constant # (const_id)") unless
target_class target_class


return unless target_class

try this out, it's solved your problem.

 Priyanka P.
 Rails Developer
This topic is locked and can not be replied to.