<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flex developer, Campbell Anderson, from New Zealand - xsive blog - &#187; Ruby on Rails</title>
	<atom:link href="http://blog.xsive.co.nz/archives/category/ruby-on-rails/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xsive.co.nz</link>
	<description>Weblog for X$!Ve.co.nz, Campbell Anderson Flex Developer</description>
	<lastBuildDate>Mon, 12 Jul 2010 02:12:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex on Rails not a dream any more!!!</title>
		<link>http://blog.xsive.co.nz/archives/202</link>
		<comments>http://blog.xsive.co.nz/archives/202#comments</comments>
		<pubDate>Fri, 02 Mar 2007 06:06:21 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/202</guid>
		<description><![CDATA[Have you played with Ruby on Rails? if not well theres no helping you&#8230;.. (just jokes). But there are alot of nice features. Today lets take a look at ActiveRecord. What it does is on startup of the website it maps database tables to the Class objects (Models in MVC) in its code. From there [...]]]></description>
			<content:encoded><![CDATA[<p>Have you played with Ruby on Rails? if not well theres no helping you&#8230;.. (just jokes). But there are alot of nice features. Today lets take a look at ActiveRecord. What it does is on startup of the website it maps database tables to the Class objects (Models in MVC) in its code. From there on in you have methods like Cat.find(:all) which will go find all the cat rows in the Cats table database and return them. Thats it no more code!!&nbsp; How about matching to sql conditions?&nbsp; Well, Cat.find(:first, :collar_color =&gt; &#39;blue&#39;). nice!!</p>
<p>So how cool would it be if flex could do this to a database. Well Mark from <a href="http://www.themidnightcoders.com/weborb" target="_blank">WebOrb</a> showed me it can. With that little code!!! Mark has basically mapped alot of the cool functionality of ActiveRecord from ROR into their Flex Data Services package. Very cool! Ok so where is it? Well its still in the works but very close and you will be able to add code like:</p>
<p><em><font>&lt;mx:DataGrid                       <strong>dataProvider=&quot;{ActiveRecords.Order.findAll()}&quot;</strong>&gt;&nbsp;                       <br /> &nbsp;&nbsp; &lt;mx:columns&gt; <br /> &nbsp;&nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;OrderID&quot;&nbsp; /&gt;&nbsp;&nbsp;                       <br /> &nbsp;&nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;CustomerName&quot; /&gt; <br /> &nbsp;&nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;BillDate&quot; /&gt;&nbsp; <br /> &nbsp;&nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;ShipDate&quot; /&gt; <br /> &nbsp;&nbsp; &lt;/mx:columns&gt; <br />                       &lt;/mx:DataGrid&gt;</font></em></p>
<p>What this basically is, is a data grid that will ask ActiveRecord to go and find all the Orders in the database, and populate the datagrid with them. Hang on i hear you say&#8230;.what about Async callbacks, when the data has loaded. Well seeing databinding is available in flex that method can return an empty Array collection and when the data is recieved the datagrid will update. No more addEventListener(&#8230;&#8230;&#8230; But dont worry you still have them there for use if you want to update the UI. But its AMF packets here so the packets are binary data and pretty quick.</p>
<p>Ok cool so what about all those Order objects we have in the datagrid, what can they do now? Well through the majick of data binding and ActiveRecord you can just have another datagrid below that updates automatically as items are selected in the first:</p>
<p><em><font>&lt;mx:DataGrid dataProvider=&quot;{<span style="font-weight: bold">otherDataGrid.selectedItem.addresses</span>}&quot;&gt;<br /> &nbsp; &lt;mx:columns&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;OrderID&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;OrderDate&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;RequiredDate&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;mx:DataGridColumn dataField=&quot;ShippedDate&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;/mx:columns&gt;<br />                       &lt;/mx:DataGrid&gt;</font></em><span style="font-style: italic"> </span></p>
<p>And that would populate the second datagrid with all the addresses for an order for each click on the first datagrid. And thats all info in the database.</p>
<p>So how does it work?&nbsp; Well you set up your database model as you would any other application, hit the WebOrb Control panel and allow it to inspect the database tables. It will then generate a code base for you to place in your Flex application. Dont worry there are empty stubs for extending with your own functionality which never get over-written when you update the generated code.</p>
<p>Much much much more cool things are in the pipline but this blog post is getting a tad long. So heres what you need to start to find out more information</p>
<p><a href="http://www.themidnightcoders.com/blog/" target="_blank">WebOrbs blog</a></p>
<p>Also if your lucky enough to be going (or even have tickets too) Flex 360:</p>
<p><em>&quot;Also, if you are attending the <a href="http://360flex.org/">360Flex conference</a>, I will be demonstrating WDMF during my session next Monday between 4:00 and 5:20 in the Integration track.&quot;</em> &#8211; Mark Piller </p>
<p>Stay tuned I will be updating with more soon.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/202/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using .NET dlls in your Ruby on Rails project!!</title>
		<link>http://blog.xsive.co.nz/archives/188</link>
		<comments>http://blog.xsive.co.nz/archives/188#comments</comments>
		<pubDate>Thu, 18 Jan 2007 13:43:35 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[MS .NET]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/188</guid>
		<description><![CDATA[Last night I got side tracked and figured out how to call methods and recieve results on a .NET dll from inside my Ruby on Rails website. 
What the F*$k you say. .NET and ROR, what an unlikely couple. Well yeah. ROR rocks at making sites quick and clean. .NET is the most rocking serverside [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I got side tracked and figured out how to call methods and recieve results on a .NET dll from inside my Ruby on Rails website. </p>
<p>What the F*$k you say. .NET and ROR, what an unlikely couple. Well yeah. ROR rocks at making sites quick and clean. .NET is the most rocking serverside lanuage with system intergration. It should be its writen by the same company that makes the OS. So I was after a way to get the best of both worlds.</p>
<p>I really wont bore you with the details here, but if you want any info just leave a comment with your email and I will explain it to you. I would like to write a generic wrapper/plugin for ROR to make this really easy but I have to sort out translation of dataTypes so complex Objects can be passed between the two.</p>
<p>I wrote a little site that called a .NET dll to get system information like CPU % etc to display on a page. To basically show load on the server.&nbsp;</p>
<p>Ultra g33k stuff I know but still a very cool little tid bit to know can be done.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/188/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Ajax and Prototype at it&#8217;s finest</title>
		<link>http://blog.xsive.co.nz/archives/177</link>
		<comments>http://blog.xsive.co.nz/archives/177#comments</comments>
		<pubDate>Mon, 11 Dec 2006 10:25:24 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/177</guid>
		<description><![CDATA[http://www.pikipimp.com/
Check it out !!! 
]]></description>
			<content:encoded><![CDATA[<p>http://www.pikipimp.com/</p>
<p>Check it out !!! </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/177/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VidemoEvent &#8211; Flex showing PXT,TXT,Mobile video at live events</title>
		<link>http://blog.xsive.co.nz/archives/157</link>
		<comments>http://blog.xsive.co.nz/archives/157#comments</comments>
		<pubDate>Mon, 16 Oct 2006 13:33:07 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[New Zealand]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/157</guid>
		<description><![CDATA[Videmo the website has a new child. Its fat and &#34;web aware&#34;. Lol I finished the videmo.co.nz event display yesterday and it has withstood 24 hours of testing. Basically the concept is that plasma screens, big screens etc can display the video, images, and text messages that people send in. It can be moderated remotely [...]]]></description>
			<content:encoded><![CDATA[<p>Videmo the website has a new child. Its fat and &quot;web aware&quot;. Lol I finished the videmo.co.nz event display yesterday and it has withstood 24 hours of testing. Basically the concept is that plasma screens, big screens etc can display the video, images, and text messages that people send in. It can be moderated remotely via a flex web interface too (just incase any of you have dodgy photos ;o). I have packed this product with so many technologies and three letter acronyms it isnt funny.</p>
<p>We had planned to launch the first display for Vodafone NZ at the surf champs this weekend (at the beach) but a local service provider HyperFactory threw thier toys out of the cot so well have to re-schedule.&nbsp; <img src='http://blog.xsive.co.nz/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ( gutted cause I have spent alot of nights on this thing. We had been hooked up with a GPRS modem for the display and everything. </p>
<p>If your unsure as to where videmo came from there is a project link on the side bar to your right (i will update it soon with this information). Basically I took that website 1 step further. Messages are convertered server side and added to a database. A Prudy Flex web interface allows people to moderate the messages remotely, via AMF and once given the ok they beam thier way off to a remote location at a live event. At the event the are displayed in all thier mobile goodness on a large Flex screen. (but no-one ever knows that unless Adobe sponsors me for the Video SDK wink wink nudge nudge) </p>
<p><img src="http://static.flickr.com/80/271259490_f5dd016a9b_m.jpg" border="0" />&nbsp;</p>
<p>I have to now save to buy the On2 Server side sdk. The photo above shows the display running on my tv at home (has been for 24 hours remember) and youll notice the video is a little small. Basically pumping it up much more with FFMpeg kills the quality, so I really have to get the video On2 SDK to take it to the next level. Considering that the SDK is about $7000 NZ I might be saving for a while, OUCH!</p>
<p><strong>So if anyone out there thinks that live video and images along with text would suit their event, feel free to let me know</strong>, and we can work something out. Im cheap as I need to eat and have to start raising funds for that SDk and paying bills again.</p>
<p>Its a version 1 with many possible features, but well just see how it sits with users for now and see what people actually want this thing to do.</p>
<p>Rock on Flex though!!!! It was the easiest to implement and mate up with the other technologies. It (really the flash player) is so suited to GUI over many other platforms it really was the only choice. Next up I will be plumbing the ROR site back into the new schema so photos and video will be availble for viewing afterwards with lightbox like video popups.</p>
<p>Finally, <strong>I would really appreciate it if anyone out there, no matter what country your from would send me a pxt or mobile video.</strong> I need to start getting a feel for other formats of service providers. Ill even post the funniest in a few days. </p>
<p>Send the message to <strong>testevent@videmo.co.nz</strong>, and it will display on my tv at home in all its glory.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/157/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Venture Capital funding done right for the Web 2.0 era.</title>
		<link>http://blog.xsive.co.nz/archives/154</link>
		<comments>http://blog.xsive.co.nz/archives/154#comments</comments>
		<pubDate>Sat, 07 Oct 2006 10:27:32 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[New Zealand]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/154</guid>
		<description><![CDATA[You know I see on techcrunch and mashable all these stories about &#34;xbeloit&#34;, &#34;peebOs&#34;, Smegoooo&#39;s&#34; or some wierd named web 2.0 site getting another 10 million funding. ANOTHER 10 MILLION? friggen Aye? how does someone get 10 mill for building yet another basecamp with a freeky name. And then what are you expected to give [...]]]></description>
			<content:encoded><![CDATA[<p>You know I see on techcrunch and mashable all these stories about &quot;xbeloit&quot;, &quot;peebOs&quot;, Smegoooo&#39;s&quot; or some wierd named web 2.0 site getting another 10 million funding. ANOTHER 10 MILLION? friggen Aye? how does someone get 10 mill for building yet another basecamp with a freeky name. And then what are you expected to give back for that 10 mill. Your soul, first born and the left nut of your uncles brother?</p>
<p>Then I came across a link which instilled in me a sense of, &quot;now that just makes sense&quot;. It was about getting the idea out. Getting that version 1 live.</p>
<p>How many of you out there have had a cool idea and developed it so far but all the 3am nights later you start to loose interest because it just doesnt seem to be happening. Well if your in the US time to check out <a href="http://www.ycombinator.com">http://www.ycombinator.com.</a></p>
<p>[ VIA: <a href="http://radar.oreilly.com/archives/2006/10/vcs_with_low_expectations.html" target="_blank">Orielly.com</a> ]</p>
<p>Check this from thier site:</p>
<p> <font color="#0000cc"><strong>Do we need to write a business plan?</strong> </font></p>
<p> <font color="#0000cc">Not for us.  We make funding decisions based on our  <a href="http://www.ycombinator.com/app.txt">application form</a>  and personal interviews.  We love demos, but we never read business plans. </font></p>
<p> <font color="#0000cc"><strong>How much do you usually invest?</strong> </font></p>
<p> <font color="#0000cc">Rarely more than $20,000.  The goal is usually to give you enough money to build an impressive prototype or version 1,  which you can then use to get further funding.   </font></p>
<p> <font color="#0000cc"><strong>What does Y Combinator get out of this?</strong> </font></p>
<p> <font></font><font color="#0000cc">Stock, usually about 5-7% of it.</font> </p>
<p>Heck, give me 6k to hold me over for the time, and ill give you 20% and the nut of my uncles brother. </p>
<p>Man how I wish someone in New Zealand had a clue and started something like this. Really to get that version 1 out&#8230;to get it to a really basic product&#8230;full time&#8230;. should take 3mnths. How many peolpe in that three months is just a measure of how hard it is. </p>
<p>When I dream that my idea could make a really usefull and cool site/idea, and I dream that I could make a really sweet product out of it, I am not looking for 10 mill of funding. heck Im looking to not go hungry and still have a home at the end of developing it.</p>
<p>Where are the VC&#39;s that give you 10g to push out a web 2.0 site in Ruby on rails in 2mnths that functions and can handel some users on your so so hosting plan. Thats the point that I want to reach. Where it can be evaluated as a self standing product.&nbsp;</p>
<p>Wise up guys (all you VC&#39;s out there) and youll find you get alot more for your money.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/154/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Missed this one, Free AMF3 in .NET ,Java ,Ruby on Rails and PHP</title>
		<link>http://blog.xsive.co.nz/archives/131</link>
		<comments>http://blog.xsive.co.nz/archives/131#comments</comments>
		<pubDate>Thu, 03 Aug 2006 11:05:56 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MS .NET]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/131</guid>
		<description><![CDATA[Yep you heard right, Free! Well restricted in the free versions but not much. With the release of Flex 2 came the need for AMF3 compatable solutions. Recently I have been hunting round for one that allowed me to use Ruby on rails along with AMF. There are a few opensource options underway but by [...]]]></description>
			<content:encoded><![CDATA[<p>Yep you heard right, Free! Well restricted in the free versions but not much. With the release of Flex 2 came the need for AMF3 compatable solutions. Recently I have been hunting round for one that allowed me to use Ruby on rails along with AMF. There are a few opensource options underway but by the looks of it the guys at WebOrb are well underway. They alreay have versions in .NET and Java so its safe to say they know what they are doing. I got a comment posted one of my other blog entries and I really cant believe I hadnt heard of this sooner. I realise these guys used to be FlashOrb but its all new and shinny. </p>
<p><em>&quot;Free open-source implementation of Flash Remoting in 					Ruby.&quot;<br />&quot;Can be deployed into any Rails-enabled application to 					expose it to Flash Remoting and Flex clients.&quot;</em><br /><em>&quot;Provides full implementation of Flash Remoting and Flex 					Data Services (AMF0 and AMF3, Data Management)&quot;</em> </p>
<p>If you head over to <a href="http://www.themidnightcoders.com/index.htm">http://www.themidnightcoders.com/index.htm</a>&nbsp; and check it out, they say that the PHP and the ROR version is coming Q3 06 (never really liked that whole quarter thing but I spose it means there isnt a solid date). I cant wait though, seeing how easy and fast ROR is along with AMF and some flex (my goodness I sound like a marketing person lol) I will be making some cool stuff&#8230;..quickly.</p>
<p>Best of all the same packages that provide the AMF are specifically designed to intergrate with AJAX calls. So you get the best of all the Web 2.0 terms to sell your client on buying the full version. The have plenty of demoslive on their server. Showing that pretty much the same methods can be accessed via both AMF and ajax calls.</p>
<p>So put this one in your &quot;to keep an eye on&quot; box and hold your breath.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/131/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Back from Fiji and back into it.</title>
		<link>http://blog.xsive.co.nz/archives/130</link>
		<comments>http://blog.xsive.co.nz/archives/130#comments</comments>
		<pubDate>Mon, 31 Jul 2006 12:36:45 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/130</guid>
		<description><![CDATA[Well now back from Castaway island in Fiji and Im back into work. Man it was amazing, great place to take a vacation, I highly recommend it. Its probably reasonably priced for you yanks out there too.
 Awsome scenery
You cant really see it but there are hundreds of small fish behind me
A very dangerous NZ [...]]]></description>
			<content:encoded><![CDATA[<p>Well now back from Castaway island in Fiji and Im back into work. Man it was amazing, great place to take a vacation, I highly recommend it. Its probably reasonably priced for you yanks out there too.</p>
<p><img src="http://static.flickr.com/57/202763166_d527d2aabd.jpg" border="0" /> <br />Awsome scenery</p>
<p><img src="http://static.flickr.com/63/202763165_af2504880f.jpg" border="0" /><br />You cant really see it but there are hundreds of small fish behind me</p>
<p><img src="http://static.flickr.com/68/202763164_df689e6df4.jpg" border="0" /><br />A very dangerous NZ fish not normally found in Fiji but my Dad was lucky to snap this shot of the rare white tee-shirted puffed checked xsiveious fish</p>
<p>After such a nice relaxation period it pretty hard to get ramped up back into work, but there are many little projects on the go. There has been some advances with Videmo.co.nz. My mobile phone multimedia message to website gallery project I made for a bit of a play. But instead of static websites it heading more towards the live area, More to come I promise.</p>
<p>Also on the radar at the moment is keeping an eye on tickle.co.nz (the ruby on rails and flash website we released before I ran away on holiday). We asked for feedback from the users and we got it, although alot of people seem to check common curtasies (spelling?) at the door when sending an email in the heat of the moment. It can be frustraiting sometimes and opens my eyes for when I make comments on others websites. I also posted on a couple of the local ruby on rails news groups and got some great feedback (thanks guys). The PDF engine is processing data from flash and creating purdy little print ready pdfs well. And I love the check out system each time I use it. Its one place I really like Ajax. When you have a page showing 300 images in your cart ready to be printed the last thing you want is to be refreshing the page with every change.</p>
<p>So with that I guess I had better get back to. Glad to be back with internet now though lol <img src='http://blog.xsive.co.nz/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/130/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rad Rails update fixes the biggest bug</title>
		<link>http://blog.xsive.co.nz/archives/125</link>
		<comments>http://blog.xsive.co.nz/archives/125#comments</comments>
		<pubDate>Sat, 10 Jun 2006 05:20:53 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/125</guid>
		<description><![CDATA[Yep for peeps out there doing Ruby on Rails with flash there is a new version of Rad Rails. This release fixes the biggest pain in the a$$ bug. It used to be for some random reason rhtml pages wouldnt compile, and each page refresh gave a different error. Well this was related to tab [...]]]></description>
			<content:encoded><![CDATA[<p>Yep for peeps out there doing Ruby on Rails with flash there is a new version of Rad Rails. This release fixes the biggest pain in the a$$ bug. It used to be for some random reason rhtml pages wouldnt compile, and each page refresh gave a different error. Well this was related to tab characters being in a strange encoding which crashed the ruby server. This has been fixed in release 0.6.4.</p>
<p>Go get the update now if you want to save your hair.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/125/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash and ruby on rails</title>
		<link>http://blog.xsive.co.nz/archives/112</link>
		<comments>http://blog.xsive.co.nz/archives/112#comments</comments>
		<pubDate>Sun, 14 May 2006 14:08:16 +0000</pubDate>
		<dc:creator>Campbell</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://blog.xsive.co.nz/archives/112</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>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:</p>
<p><font color="#cc3300"><em>NoMethodError: You have a nil object when you didn&rsquo;t expect it!<br /> The error occured while evaluating nil.verify_mode</em></font></p>
<p>It seems when your updating ruby not all comes out well and I found the answer at : <a href="http://brantinteractive.com/index.php?p=53">http://brantinteractive.com/index.php?p=53</a></p>
<p>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 <img src='http://blog.xsive.co.nz/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ) 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:</p>
<p><a href="http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1">RubyOnRails (1.1) and <strong>Flex</strong> (2.0): Pt 1</a> &amp; <a href="http://www.liverail.net/articles/2006/05/06/rubyonrails-1-1-and-flex-2-0-pt-2">RubyOnRails (1.1) and <strong>Flex</strong> (2.0): Pt 2</a><span class="l"> 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 </span>70-150 req/sec for dynamic full blown rails pages.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.xsive.co.nz/archives/112/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

