Hi there. Can anyone help me. I get a “Unexpected $end expected kEnd”
But the error is in the very last line. What is the reason for this. I
cant find it myself.
I have attached the file in question to this topic.
- Emil
[email protected]
Hi there. Can anyone help me. I get a “Unexpected $end expected kEnd”
But the error is in the very last line. What is the reason for this. I
cant find it myself.
I have attached the file in question to this topic.
Emil K. wrote:
Hi there. Can anyone help me. I get a “Unexpected $end expected kEnd”
But the error is in the very last line. What is the reason for this. I
cant find it myself.I have attached the file in question to this topic.
- Emil
[email protected]
Recheck your do, if, end statements in:
possible_educations
selected_educations
The mess sims to be in these two methods.
by
TheR
Hey.
I Couldn’t find the error, so i regressed it from my svn repository.
Thank you for taking the time, to look it through. I Appreciate it.
You have an extra end some where in your code. You will a have to go
through all you code and match all the ends.
bakki
Emil K. wrote:
http://www.ruby-forum.com/attachment/4/characters_controller.rb
Here’s the problem (missing “end” in aprove_character):
def aprove_character
if session[‘user’][‘s’]
end
def change_gameStatus
You should get yourself an editor which will indent your code, that
makes it easy to spot these things.
–
Cheers,
Hi there Jacob, thnx for the reply. I’m using textmate, it indents, but
i just haven’t been able to spot the problem
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs