On Sun, May 16, 2010 at 3:09 PM, Sadia Lone <l...@mavsol.com> wrote: > On Sun, May 16, 2010 at 1:18 PM, Ruslan Zakirov <r...@bestpractical.com> > wrote: >> You're in devel mode I believe and don't restart server on code >> changes. If new code has syntax errors then auto reload can fail in >> such way. Try to stop and start server, I hope it will show you more >> detailed error messages. > > Hi Ruslan, thanks for your reply (on Sunday :-) ) > > I tried by restarting the server and the error was something about > "Jifty->app_class('Model::Post');" with strict subs. > > I changed "new_action(class => 'UpdatePost', record => $post);" to > "new JiftyDemo::Model::Post;" and it works perfectly.
"Jifty->app_class('Model::Post');" with "new JiftyDemo::Model::Post;" to be exact. Probably the "there is more than one way to ..." thing. Rgds --S _______________________________________________ jifty-devel mailing list jifty-devel@lists.jifty.org http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel