I can't reproduce this problem here[1]. Which versions of ruote,
ruote-kit and Ruby do you use? Mine are:
ruote: 2.1.11
ruote-kit: current HEAD
Ruby: ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770,
Ruby Enterprise Edition 2010.02
Cheers,
Torsten
[1] That means, the workitem fields appear in
http://localhost:9292/_ruote/workitems/0_0_2!!20110106-bejoyarani
(example url) as expected.
Is there a workitem for attendees? If not, it's likely that you're not
running a ruote worker in your rails app.
HTH,
Torsten
Hello Rebo,
maybe Sinatra's set is shadowing ruote's set, since you can do
---8<---
require 'sinatra'
set :port, 3333
get '/' do
"nada"
end
--->8---
Best regards,
--
John Mettraux - http://jmettraux.wordpress.com
Hello,
I went on an added an 'rset' alias for the set expression :
https://github.com/jmettraux/ruote/commit/801afe5c932c7b1e176f9e2a62d0546c79e09d14
Went for 'r[uote]set' and not 'setf' since set can set variables and fields.
Many thanks !
Nonetheless, sinatra's set shouldn't pollute the global namespace in
ruote-kit. I'll investigate that as soon as I've time for that.
Thanks for the report, rebo, and thanks for the workaround, John!
Cheers,
Torsten
There's a fix in
https://github.com/tosch/ruote-kit/commit/00381b3ebe774fc37af0eae99bc6f149e1d51618
@rebo: Could you test if you may use 'set' in process definitions with
that fix?
Thanks again for the report,
Torsten