<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Indierockmedia</title>
	<link>http://www.indierockmedia.com</link>
	<description>Design + Ruby &#38; Rails Development</description>
	<pubDate>Mon, 21 Apr 2008 16:55:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>New widgets posted</title>
		<link>http://www.indierockmedia.com/2008/04/21/new-widgets-posted/</link>
		<comments>http://www.indierockmedia.com/2008/04/21/new-widgets-posted/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 16:51:57 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.indierockmedia.com/2008/04/21/new-widgets-posted/</guid>
		<description><![CDATA[Indierockmedia has created dynamic widgets for RCA&#8217;s Anti Flag and Science Record&#8217;s Beat Union and Greeley Estates. Check them out, more stuff to come soon.
Also in the mix, we are currently re-vamping the image for Roadrunner Records.
]]></description>
			<content:encoded><![CDATA[<p>Indierockmedia has created dynamic widgets for <strong>RCA&#8217;s</strong> <a href="http://www.rcarecords.com/widgets/antiflag">Anti Flag</a> and <strong>Science Record&#8217;s</strong> <a href="http://www.sciencerecords.net/beatunion/">Beat Union</a> and <a href="http://www.sciencerecords.net/greeleyestates/">Greeley Estates</a>. Check them out, more stuff to come soon.</p>
<p>Also in the mix, we are currently re-vamping the image for Roadrunner Records.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2008/04/21/new-widgets-posted/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fix for MacBook Pro Keyboard Freezes</title>
		<link>http://www.indierockmedia.com/2007/12/18/fix-for-macbook-pro-keyboard-freezes/</link>
		<comments>http://www.indierockmedia.com/2007/12/18/fix-for-macbook-pro-keyboard-freezes/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 02:08:17 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[freeze]]></category>

		<category><![CDATA[keyboard]]></category>

		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.indierockmedia.com/2007/12/18/fix-for-macbook-pro-keyboard-freezes/</guid>
		<description><![CDATA[Apple has posted a fix for an issue that is not necessarily relevant to Rails or Ruby, but is certainly something that has affected Rails developers who are using Leopard. (Most of them i&#8217;m guessing.)  This issue, which has plagued me since installing OS X 10.5, caused the keyboard to become unresponsive and was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://apple.com">Apple</a> has posted a fix for an issue that is not necessarily relevant to Rails or Ruby, but is certainly something that has affected Rails developers who are using Leopard. (Most of them i&#8217;m guessing.)  This issue, which has plagued me since installing OS X 10.5, caused the keyboard to become unresponsive and was quite possibly the most frustrating issue i have encountered since the days of Mac OS 7 and all the unexpected crashes that inevitably led to the old standbys.  &#8220;Reset the PRAM.&#8221; (wtf is pram?) &#8220;Rebuild the Desktop&#8221; (wtf do i look like? a carpenter?).</p>
<p>Get the fix here <a href="http://www.apple.com/support/downloads/macbookmacbookprosoftwareupdate11.html">Apple MacBook Pro Software Update</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2007/12/18/fix-for-macbook-pro-keyboard-freezes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rails 2.0.2 Released: Sqlite3 now default database</title>
		<link>http://www.indierockmedia.com/2007/12/17/rails-202-released-sqlite3-now-default-database/</link>
		<comments>http://www.indierockmedia.com/2007/12/17/rails-202-released-sqlite3-now-default-database/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 18:18:15 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.indierockmedia.com/2007/12/17/rails-202-released-sqlite3-now-default-database/</guid>
		<description><![CDATA[In a move that makes setting up your first rails application so much simpler, Rails 2.0.2 now uses sqlite3 as the default database.  Developing rapid prototypes can now be developed much more rapidly as sqlite3 is included in OSX 10.5 Leopard.  This basically amounts to a zero configuration setup to get your app [...]]]></description>
			<content:encoded><![CDATA[<p>In a move that makes setting up your first rails application so much simpler, <a href="http://weblog.rubyonrails.com/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes">Rails 2.0.2</a> now uses sqlite3 as the default database.  Developing rapid prototypes can now be developed much more rapidly as sqlite3 is included in <a href="http://www.apple.com/macosx">OSX 10.5 Leopard</a>.  This basically amounts to a zero configuration setup to get your app up  and running.  For more information see <a href="http://weblog.rubyonrails.com/2007/12/17/rails-2-0-2-some-new-defaults-and-a-few-fixes">DHH&#8217;s post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2007/12/17/rails-202-released-sqlite3-now-default-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>validates_as_phone Ruby on Rails Plugin</title>
		<link>http://www.indierockmedia.com/2007/12/14/validates_as_phone-ruby-on-rails-plugin/</link>
		<comments>http://www.indierockmedia.com/2007/12/14/validates_as_phone-ruby-on-rails-plugin/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 19:19:05 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[ActiveRecord]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.indierockmedia.com/2007/12/14/validates_as_phone-ruby-on-rails-plugin/</guid>
		<description><![CDATA[I have collected and released validates_as_phone, a plugin to validate US formatted Phone Numbers.you can install the plugin as such:

script/plugin install  http://validates-as-phone.googlecode.com/svn/trunk 

The plugin includes tests. Feedback is welcome.

Usage:

class Model &#60; ActiveRecord::Base
  validates_as_phone :telephone, :message => "is not a valid US phone number"

end

]]></description>
			<content:encoded><![CDATA[<p>I have collected and released <a href="http://code.google.com/p/validates-as-phone/">validates_as_phone</a>, a plugin to validate US formatted Phone Numbers.you can install the plugin as such:</p>
<p><code><br />
script/plugin install  http://validates-as-phone.googlecode.com/svn/trunk <br />
</code></p>
<p>The plugin includes tests. Feedback is welcome.</p>
<pre class="ruby" name="code">
Usage:

class Model &lt; ActiveRecord::Base
  validates_as_phone :telephone, :message => "is not a valid US phone number"

end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2007/12/14/validates_as_phone-ruby-on-rails-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Extract Binary File &#038; Images from MySQL to Filesystem with Ruby</title>
		<link>http://www.indierockmedia.com/2007/12/12/extract-binary-file-images-from-mysql-to-filesystem/</link>
		<comments>http://www.indierockmedia.com/2007/12/12/extract-binary-file-images-from-mysql-to-filesystem/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 23:09:35 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[ActiveRecord]]></category>

		<category><![CDATA[BLOB]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[binary]]></category>

		<category><![CDATA[console]]></category>

		<category><![CDATA[irb]]></category>

		<guid isPermaLink="false">http://blog.indierockmedia.com/2007/12/12/extract-binary-file-images-from-mysql-to-filesystem/</guid>
		<description><![CDATA[Today i needed to extract some images that had (unwisely) been stored as BLOB in a mysql (imported from MS-SQL) database. Here is how i extracted the files to my filesystem using the console &#38; ActiveRecord. You ARE using the console aren&#8217;t you?Assuming the column holding the binary data is called picture_bin and your Model [...]]]></description>
			<content:encoded><![CDATA[<p>Today i needed to extract some images that had (unwisely) been stored as BLOB in a mysql (imported from MS-SQL) database. Here is how i extracted the files to my filesystem using the console &amp; ActiveRecord. You ARE using the console aren&#8217;t you?Assuming the column holding the binary data is called picture_bin and your Model is called Picture:</p>
<pre class="ruby" name="code">
Picture.find(:all).each do |f|
  File.open(File.join(RAILS_ROOT, "photos", "#{f.id}.jpg"), "w") do |file|
    file.write(f.picture_bin)
  end
end
</pre>
<p>And if you&#8217;re using file_column, assigning the image back to the record is as easy as:</p>
<pre class="ruby" name="code">
Picture.find(:all).each do |f|
  f.filename = File.open(File.join(RAILS_ROOT, "photos", "#{f.id}.jpg"), "r")
  f.save
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2007/12/12/extract-binary-file-images-from-mysql-to-filesystem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to the Blog</title>
		<link>http://www.indierockmedia.com/2007/12/12/welcome-to-the-blog/</link>
		<comments>http://www.indierockmedia.com/2007/12/12/welcome-to-the-blog/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 19:29:16 +0000</pubDate>
		<dc:creator>Jerrod</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.indierockmedia.com/2007/12/12/welcome-to-the-blog/</guid>
		<description><![CDATA[Indierockmedia was started by Mikey and I in 2003 to meet a growing need from independent labels &#38; bands to manage their online presence without the need for in house &#8220;HTML nerds&#8221;. What started out as a weekend project quickly became sole employment for our small but passionate duo. Since those early days, holed up [...]]]></description>
			<content:encoded><![CDATA[<p>Indierockmedia was started by Mikey and I in 2003 to meet a growing need from independent labels &amp; bands to manage their online presence without the need for in house &#8220;HTML nerds&#8221;. What started out as a weekend project quickly became sole employment for our small but passionate duo. Since those early days, holed up in an apartment editing Rainer Maria and Mates of State footage, we have grown into a diverse collective which represents the best talent we have encountered over the years.  We each bring a unique perspective on the music industry as well as design and development to the table, but the one passion we all share is for the music.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.indierockmedia.com/2007/12/12/welcome-to-the-blog/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
