Hi all,

When trying to DRY up some code I realized that e.g. completing a todo
from the normal view and the mobile view requires running
completion/activation code on both todos_controller#toggle_check and
todos_controller#update.

I was thinking that it would be nice to add this to the state machine
in the todo model instead, so the model would always be consistent.
The problem I face now is how to get information from the state
changes in the model to the ajax javascripts.

Is this a known problem, and the reason it is not used like this?


Best regards,
/Henrik
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to