Mitchell Gould wrote:
> I just updated my Rubygems and rails2.3.2.
> 
> Everything was working prior to this update. Now I am getting this
> error:
> 
> undefined method `inject' for true:TrueClass
> 
> I don't have the faintest idea why and I certainly don't know what the
> 'inject' method is or where it is called etc. Nor do I know what the
> TrueClass is.

Looking at the Ruby core and standard library documentation would answer 
both those questions for you.

> 
> Can anyone please help.
> 
> The full trace is below:
[...]

David already gave you some guidance on how to read the stack trace; 
looks like Rails is calling inject on an object for which it's not 
defined.  Good luck!  Let us know if you have further questions...

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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