Flash and ruby on rails

Filed under: Flash, Personal, Ruby on Rails — Wrote by Campbell on Monday, May 15th, 2006 @ 2:08 am

Just a heads up with something I found recently, and I hope this gets spidered by google because I was banging my head against a wall.

I have been playing with flash and ruby on rails together alot and today stumbled across a problem. The situation was in rails I was requesting a remote URL through Net::Http class and getting the response, but kept on getting an error which read:

NoMethodError: You have a nil object when you didn’t expect it!
The error occured while evaluating nil.verify_mode

It seems when your updating ruby not all comes out well and I found the answer at : http://brantinteractive.com/index.php?p=53

After removing rails and re-installing all was well. Once again just a heads u, and I hope to reveal the project to the world soon :o ) It seems once you get past the initail Wow of ruby scaffolding there are plenty of little suprises to catch you out. So its a love hate relationship. I still really miss the great IDE that Visual studio has but am really enjoying ROR again after the initial bang head against wall stage. And if you feeling game check out:

RubyOnRails (1.1) and Flex (2.0): Pt 1 & RubyOnRails (1.1) and Flex (2.0): Pt 2 for a bit of a look in to see how cool it can be. I hope to post a bit of a tut on setting up ROR on a windows box and running it in a clustered server setup with speeds matching lighttpd thats 70-150 req/sec for dynamic full blown rails pages. 

11 Comments   -
  • Comment by Michael | May 15, 2006 @ 2:17 am

    Check out RadRails & RDT for Eclipse. You’ll think of VS as of notepad after Eclipse.

  • Comment by Campbell | May 15, 2006 @ 2:21 am

    Sorry man thats what I have been using and its got nothing on Visual studio 2005 – intellisense kicks eclipses version IMHO. if you havent seen it in action check it out. I am happy with Radrails but man im getting sick of that “bad tab character” issue.
    C.

  • Comment by ify | May 15, 2006 @ 5:49 am

    Pls tell me more about these

  • Comment by Bob Pardoe | May 15, 2006 @ 11:43 pm

    You might have a look at these guys http://sapphiresteel.com/ they promise what you are looking for. I agree with you Eclipse is ok, but not really up to VS2005

    BOb

  • Comment by Campbell | May 15, 2006 @ 11:50 pm

    WOW that looks very promising!!

  • Comment by katalog | October 14, 2006 @ 11:22 pm

    Check out RadRails & RDT for Eclipse. You’ll think of VS as of notepad after Eclipse.

  • Comment by Thermage Hamburg | February 9, 2007 @ 7:17 am

    Great and excellent article ts realy helpful. Thanks again.

  • Comment by tanie linie lotnicze | February 14, 2007 @ 12:19 am

    Fantastic article covering some points I really needed some good usability info for.

  • Comment by daniela | September 27, 2007 @ 9:47 pm

    que buena pagina, muy interesante, gracias

  • Comment by shopping | July 23, 2008 @ 9:36 pm

    I think, as far as I know, that these kinds of problems with Ruby and Flash are pretty much sorted out now. I don’t see people moaning about this sort of stuff anymore. Seems that ROR is really doing well, and is becoming the choice of many individuals that I know. It’s quite fun to use, and it’s easy, and a wonderful mix and mash of so many different applications with so much you can do with it. Thanks for the heads up!

  • Comment by Campbell | July 23, 2008 @ 10:46 pm

    Yep this post was about 2 years ago. An age in ROR land :) Much has changed

Leave your comment

© Flex developer, Campbell Anderson, from New Zealand – xsive blog -