[typo] undefined local variable or method `published_articles'

Denis FABIEN denis at recettesdefamille.com
Fri Feb 29 16:27:39 EST 2008


I solve my trouble

using ... gem update

Sometime I stupid, don't try this before ask the list, sorry about it


Denis FABIEN a écrit :
> I made already made svn up.
>
> Here is a part of my log :
>
> NameError (undefined local variable or method `published_articles' for 
> #<Blog:0x2aaaaecb80d0>):
>     
> /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:206:in 
> `method_missing'
>     /app/models/blog.rb:190:in `requested_article'
>     /app/controllers/articles_controller.rb:38:in `show'
> ...
>
> Piers Cawley a écrit :
>> On Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN
>> <denis at recettesdefamille.com> wrote:
>>   
>>> Hi
>>>
>>>  I've installed typo via svn on a mongrel/nginx server. All was ok except
>>>  on thing.
>>>
>>>  When i go to read an article, i've got this message :
>>>  undefined local variable or method `published_articles' for #.
>>>
>>>  You can see my trouble here :
>>>  http://beta.miseajour.net/articles/2008/02/27/test
>>>     
>>
>> Strange, i thought I'd got rid of all the calls to that method when I
>> started turning Blog back into a singleton. There was a a broken svn
>> version for a while, but it should have been fixed with r1667. If you
>> do an svn up and still have a problem, it'd be good to see the log
>> entry for the failed request.
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20080229/12c9e408/attachment.html 


More information about the Typo-list mailing list