On Wed, Dec 29, 2010 at 09:03:14AM -0800, Gonzalo wrote:
> 
> undefined method `each' for nil:NilClass
> (erb):27:in `get_binding'
> 
> I tried the same steps in ruote-kit with no problem at all. I wonder
> if there is a easy/quick fix for this.

Hello Gonzalo,

I've looked at the issue.

I could fix it in openwferu directly, but maybe it's easier to fix it it your 
copy of ruote-rest :

  https://github.com/jmettraux/ruote-rest/blob/master/views/process.erb#L26

  <% process.variables.each do |k, v| %>

could become

  <% (process.variables || {}).each do |k, v| %>

I don't know if it suits you, but it's quite a quick fix.


Happy new year to you as well !

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to