[jifty-devel] Struggling with Jifty

Sadia Lone l at mavsol.com
Sun May 16 10:13:09 EDT 2010

On Sun, May 16, 2010 at 3:09 PM, Sadia Lone <l at mavsol.com> wrote:
> On Sun, May 16, 2010 at 1:18 PM, Ruslan Zakirov <ruz at 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.


More information about the jifty-devel mailing list