On Mon, Jan 23, 2012 at 15:57, Shyam Habarakada [GMail]
<[email protected]> wrote:

> I'm getting the error undefined method `accept' for nil:NilClass in my
> controller.

At what line of code?  Show us what's there.  Chances are you've got a
call that looks like "someobject.accept(someargs)".  The variable
someobject is nil.  Trace down where that variable should have gotten
set, and see what you can figure out about why that didn't happen, or
why the variable it got its value FROM was nil, or why it got RE-set,
to nil, afterward.

-Dave

-- 
Dave Aronson, Available Cleared Ruby on Rails Freelancer
(NoVa/DC/Remote); details @ http://www.DaveAronson.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