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 Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN
[email protected] 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.
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 C. a écrit :
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 :