Ruby on Rails
Monday, July 6, 2015
On Monday, July 6, 2015, ruby4life <benjaminparadis@gmail.com> wrote:
I'm a super newbie with ruby on rails and ruby in general. Basically, I'm trying to display a pre-generated xml file within my rails app. Super simple, but I can't get it to work. I created a new controller called "nmap" and it has this code:
[snip]
/opt/ruby_projects/nmap/nmap_parse/app/controllers/nmap_controller.rb:30: syntax error, unexpected $end, expecting keyword_end
This error means that your missing an "end". This sort of mistake is a lot easier to spot if you indent your code properly.
Fred
----
This could be extremely simple to do, so I'm looking for someone to help point me in the right direction.
tx.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e934e5d2-bcd7-4390-b5f2-d073e4631f82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABp077V%3DmTBj_rM4JrnhiMSZyEJYgSVo6HiAGRHm0Ywq5DR_uQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment