librelist archives

« back to archive

strange behavior while visiting urls

strange behavior while visiting urls

From:
Sebastjan Hribar
Date:
2013-03-07 @ 14:31
Hi,

I'm porting the last of my few learning projects to shoes and I'm
experiencing strange behavior while visiting urls. Specifically, the url
'/battle'. See the project at:

https://github.com/sebastjan-hribar/summoner_chronicles


The problem is that some elements from the previous url
('/battle_preparation') are still there.

The app is graphically still rough, I want to implement the game
mechanics first. Hence, the commented out code from line 137, as I am
going through step by step.

I didn't experience this behavior in my last "fairy-tale" project.


kind regards
love shoes!

seba


Re: [shoes] strange behavior while visiting urls

From:
ashbb
Date:
2013-03-08 @ 11:57
Hi Seba,

Ah, umm,.. may be a bug...
But sorry, I don't have enough time to debug Green Shoes for now. xx-P

Could you try out the following workaround?

def battle_preparation
  flow do
    # Write your code within a flow block
  end
end

Hope this helps,
ashbb

Re: [shoes] strange behavior while visiting urls

From:
Sebastjan Hribar
Date:
2013-03-09 @ 04:21
> 
> Ah, umm,.. may be a bug...
> But sorry, I don't have enough time to debug Green Shoes for now. xx-P
> 
no problem, I was pretty sure I had the code wrong, that's why I
posted...

> Could you try out the following workaround?
> 
> def battle_preparation
>   flow do
>     # Write your code within a flow block
>   end
> end
> 
works fine:)

thank you for your help

love shoes!
seba