<?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>CloudMade &#187; ruby on rails</title>
	<atom:link href="http://blog.cloudmade.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cloudmade.com</link>
	<description>The CloudMade Blog</description>
	<lastBuildDate>Tue, 20 Dec 2011 12:03:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mappam Launch &#8211; Location based advertising is here</title>
		<link>http://blog.cloudmade.com/2007/06/29/mappam-launch-location-based-advertising-is-here/</link>
		<comments>http://blog.cloudmade.com/2007/06/29/mappam-launch-location-based-advertising-is-here/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 10:00:02 +0000</pubDate>
		<dc:creator>nick-import</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mappam]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.cloudmade.com/2007/06/29/mappam-launch-location-based-advertising-is-here/</guid>
		<description><![CDATA[This morning, ZXV Ltd launched Mappam, a new location based advertising service that makes it easy to put your ads on the map.

As an advertiser, you can visit mappam.com and place an advert, upload an icon to represent your ad and chose the price-per-click.  You only pay when Mappam redirects someone to your site. [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, ZXV Ltd launched <a href='http://www.mappam.com'>Mappam</a>, a new location based advertising service that makes it easy to put your ads on the map.</p>
<p><a href='http://www.mappam.com'><img src='http://www.mappam.com/images/site_tour/create_a_campaign.png' width='400px'></a></p>
<p>As an advertiser, you can visit mappam.com and place an advert, upload an icon to represent your ad and chose the price-per-click.  You only pay when Mappam redirects someone to your site.  As a host, you can add Mappam adverts to your site with one line of Javascript.  Mappam ads appear as small 16&#215;16 pixel icons on your map &#8211; taking up far less space than traditional banner ads and providing information that is relevant the context of the map your visitors are looking at.  Head over to <a href='http://www.mappam.com'>mappam.com</a> and take a look, or visit our <a href='http://blog.mappam.com'>blog</a> for more details.</p>
<p>Mappam has been developed exclusively by ZXV Ltd, using a range of technologies.  The site is powered by the <a href='http://www.rubyonrails.org/'>Ruby on Rails</a> web-development framework with a <a href='http://www.mysql.com/'>MySQL</a> database running on <a href='http://www.ubuntu.com/'>Ubuntu Linux</a>.  Hosting is provided by <a href='http://aws.amazon.com/'>AWS&#8217;s</a> EC2 and S3 with an Ubuntu/Rails image provided by <a href='http://pauldowman.com/2007/06/10/public-ubuntu-ruby-on-rails-ec2-image/'>Paul Dowman</a>.</p>
<p>ZXV Ltd continue to offer a range of software development consultancy services.  See our <a href='http://www.zxv.ltd.uk/consulting/'>consulting</a> page to find out more.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cloudmade.com/2007/06/29/mappam-launch-location-based-advertising-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MiniBar / WhereCamp Slides</title>
		<link>http://blog.cloudmade.com/2007/06/08/minibar-wherecamp-slides/</link>
		<comments>http://blog.cloudmade.com/2007/06/08/minibar-wherecamp-slides/#comments</comments>
		<pubDate>Fri, 08 Jun 2007 11:17:57 +0000</pubDate>
		<dc:creator>nick-import</dc:creator>
				<category><![CDATA[REST]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.cloudmade.com/2007/06/08/minibar-wherecamp-slides/</guid>
		<description><![CDATA[Here are the slides to accompany the presentaion given at MiniBar on the 25th May.  We gave a similar version of the presentation as a lightening talk at WhereCamp, in Sunnyvale CA on the 2nd June.  Enjoy!

]]></description>
			<content:encoded><![CDATA[<p>Here are the slides to accompany the presentaion given at MiniBar on the 25th May.  We gave a similar version of the presentation as a lightening talk at WhereCamp, in Sunnyvale CA on the 2nd June.  Enjoy!</p>
<p><object type="application/x-shockwave-flash" data="https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=61719&#038;doc=zxv-ecouriercouk-an-open-access-api3139" width="425" height="348"><param name="movie" value="https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=61719&#038;doc=zxv-ecouriercouk-an-open-access-api3139" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cloudmade.com/2007/06/08/minibar-wherecamp-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Custom SQL to Rails Active Record Migrations</title>
		<link>http://blog.cloudmade.com/2007/04/10/add-custom-sql-to-rails-active-record-migrations/</link>
		<comments>http://blog.cloudmade.com/2007/04/10/add-custom-sql-to-rails-active-record-migrations/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 16:35:48 +0000</pubDate>
		<dc:creator>nick-import</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.cloudmade.com/2007/04/10/add-custom-sql-to-rails-active-record-migrations/</guid>
		<description><![CDATA[Ruby on Rails&#8217; Migrations offer a nice alternative to traditional SQL DDL statements, that fit in with the Rails agile development philosophy.  Migrations let you use Ruby code to create, alter and drop databases and tables, allowing you, amongst other things to switch databases mid-development, without having to refine your SQL.
Such convenience can sometimes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rubyonrails.org/">Ruby on Rails&#8217;</a> <a href="http://api.rubyonrails.org/classes/ActiveRecord/Migration.html">Migrations</a> offer a nice alternative to traditional SQL DDL statements, that fit in with the Rails <em>agile development</em> philosophy.  Migrations let you use Ruby code to create, alter and drop databases and tables, allowing you, amongst other things to switch databases mid-development, without having to refine your SQL.</p>
<p>Such convenience can sometimes mean a lack of flexibility.  If you are trying to add a column to a MySQL database with type <em>bigint unsigned</em>, you&#8217;ll run into problems as ActiveRecord does not support unsinged bigints.  You can solve the problem with some creative use of Ruby&#8217;s command line execution features &#8211; any code in a ruby file that is included between backticks(&#8217; ` &#8216;)  will be executed as a command line argument &#8211; so now you can include custom SQL statements without losing the benefits of Migrations:</p>
<p><code></p>
<pre>
class MyClass < ActiveRecord::Migration
  def self.up
    remove_column :mytable, <img src='http://blog.cloudmade.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ld_column
    puts `mysql database -u user -ppassword
    -e 'alter table mytable add column new_column bigint unsigned'`
  end
..
..
end
</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cloudmade.com/2007/04/10/add-custom-sql-to-rails-active-record-migrations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

