Emil Kampp
2007-Jul-24 18:25 UTC
Could somone please check this over.. i cant find the error.
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 emil-MPxDgJQqk+JjKbaFUhFE9JRKfxnXCOPW@public.gmane.org Attachments: http://www.ruby-forum.com/attachment/4/characters_controller.rb -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bakki Kudva
2007-Jul-24 18:31 UTC
Re: Could somone please check this over.. i cant find the error.
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 On 7/24/07, Emil Kampp <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 > emil-MPxDgJQqk+JjKbaFUhFE9JRKfxnXCOPW@public.gmane.org > > Attachments: > http://www.ruby-forum.com/attachment/4/characters_controller.rb > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jacob Atzen
2007-Jul-24 18:37 UTC
Re: Could somone please check this over.. i cant find the error.
Emil Kampp 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 > emil-MPxDgJQqk+JjKbaFUhFE9JRKfxnXCOPW@public.gmane.org > > Attachments: > 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 ## # Changes the characters game_status to active # def change_gameStatus You should get yourself an editor which will indent your code, that makes it easy to spot these things. -- Cheers, - Jacob Atzen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Damjan Rems
2007-Jul-24 19:33 UTC
Re: Could somone please check this over.. i cant find the er
Emil Kampp 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 > emil-MPxDgJQqk+JjKbaFUhFE9JRKfxnXCOPW@public.gmane.orgRecheck your do, if, end statements in: possible_educations selected_educations The mess sims to be in these two methods. by TheR -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Emil Kampp
2007-Jul-24 23:26 UTC
Re: Could somone please check this over.. i cant find the er
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. - Emil -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Emil Kampp
2007-Jul-27 15:27 UTC
Re: Could somone please check this over.. i cant find the er
Hi there Jacob, thnx for the reply. I''m using textmate, it indents, but i just haven''t been able to spot the problem :( - Emil -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---