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 Someone can help me ? Thanks
on 29.02.2008 14:44
on 29.02.2008 21:12
On Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN <denis@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.
on 29.02.2008 21:26
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 29.02.2008 22:28
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 :