On 23 February 2010 23:49, paul h <[email protected]> wrote: > NoMethodError (You have a nil object when you didn't expect it! > You might have expected an instance of Array. > The error occurred while evaluating nil.clear):
If you post code extracts from around the area that seems to be failing, we might be able to help. > Have I missed something with 'self'? I've no idea, that's the first time you've mentioned it, so we don't know what kind of grasp you think you have to be able to suggest anything you may have missed. > just finished reading Metaprogramming Ruby That might be a little bit beyond the position you're at at the moment, maybe a book that offers a better grounding would be more appropriate; like "Ruby for Rails" (http://www.manning.com/black/) -- 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.

