<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
>

<channel>
	<title>High Earth Orbit &#187; Rails</title>
	<atom:link href="http://highearthorbit.com/category/technology/programming/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://highearthorbit.com</link>
	<description>Transmitting ideas, observations, and images from 42,000 km.</description>
	<lastBuildDate>Thu, 27 Oct 2011 17:23:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails interfaces to Mac Applications</title>
		<link>http://highearthorbit.com/rails-interfaces-to-mac-applications/</link>
		<comments>http://highearthorbit.com/rails-interfaces-to-mac-applications/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 14:26:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/rails-interfaces-to-mac-applications/</guid>
		<description><![CDATA[The new version of Mac OS X, Leopard, came with a much anticipated feature &#8211; an officially supported set of Ruby bridges to Cocoa (the Mac OS X Framework) and AppleScript. Digging around I couldn&#8217;t find the pre-installed versions, but it was easy enough to gem install rb-appscript
I&#8217;ve been playing around with the very complete [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of Mac OS X, Leopard, came with a much anticipated feature &#8211; an officially supported set of Ruby bridges to Cocoa (the Mac OS X Framework) and AppleScript. Digging around I couldn&#8217;t find the pre-installed versions, but it was easy enough to <code>gem install rb-appscript</code></p>
<p>I&#8217;ve been playing around with the very complete examples over the last couple of days and am really impressed with how easy it is to build <em>Cocoa</em> apps in just a few lines of Ruby code and using the new InterfaceBuilder. You get full-fledged support of all OS X&#8217;s goodness without having to worry about Objective-C. </p>
<p>However, I hadn&#8217;t fully considered some of the implications of this until I was stumbled across the open-source <a href="http://omnifocus-ui.rubyforge.org/svn/trunk/README" title="">OmniFocus-UI</a>. It is a Rails app written as an iPhone interface to the Productivity application (<abbr title="Getting Things Done">GTD</abbr>) <a href="http://www.omnigroup.com/applications/omnifocus/" title="The Omni Group - OmniFocus">OmniFocus</a>. It essentially provides a very lightweight web interface to the application by way of the AppleScript interface. <a href="http://rb-appscript.rubyforge.org/" title="rb-appscript">rb-appscript</a> and <a href="http://rubyosa.rubyforge.org/" title="RubyOSA: Ruby/AppleEvent Bridge">RubyOSA</a> are two Ruby AppleScript bridges that make AppleScript actually really nice to work with. </p>
<p>The fact that it&#8217;s a Rails app is almost silly. There is no database connection to speak of. All storage and primary functionality is handled by the app itself. OmniFocus-UI could probably be rewritten as a Camping or Merb application very easily with a much smaller footprint. </p>
<p>The way the Rails app works is that the controllers just route commands via rb-appscript. So when you want a list of contexts (organization of todos), the Rails app just needs to do the following in Ruby:</p>
<pre>
require 'appscript'
doc = Appscript.app("OmniFocus").default_document
doc.contexts.get.length
</pre>
<p>Or to see how many Inbox items you have:</p>
<pre>
doc.inbox_tasks.count
</pre>
<p>If instead you want to use RubyOSA, it&#8217;s really just the Class name that changes (and some more underlying bits):</p>
<pre>
require 'rbosa'
doc = OSA.app("OmniFocus").default_document
</pre>
<p>What this means is, it&#8217;s very easy to build web interfaces on top of any AppleScript-able Mac application. The one difficulty, however, is configuring your Mac to make it easily externally accessible from anywhere on the Web. If you&#8217;re handy on IT, you can always setup port-forwarding on your router. </p>
<p>However, if you just want setup &amp; forget, you should check out <a href="http://goprism.com" title="Prism">Prism</a> (<a href="http://goprism.com" title="Prism">http://goprism.com</a>) &#8211; which creates secure, private web accessible connections to your home computer. </p>
<p class="tags">Tags: <a href="http://technorati.com/tag/apple" title="See the Technorati tag page for 'apple'." rel="tag">apple</a>, <a href="http://technorati.com/tag/macosx" title="See the Technorati tag page for 'macosx'." rel="tag">macosx</a>, <a href="http://technorati.com/tag/leopard" title="See the Technorati tag page for 'leopard'." rel="tag">leopard</a>, <a href="http://technorati.com/tag/rails" title="See the Technorati tag page for 'rails'." rel="tag">rails</a>, <a href="http://technorati.com/tag/ruby" title="See the Technorati tag page for 'ruby'." rel="tag">ruby</a>, <a href="http://technorati.com/tag/rubyosa" title="See the Technorati tag page for 'rubyosa'." rel="tag">rubyosa</a>, <a href="http://technorati.com/tag/scripting" title="See the Technorati tag page for 'scripting'." rel="tag">scripting</a>, <a href="http://technorati.com/tag/bridge" title="See the Technorati tag page for 'bridge'." rel="tag">bridge</a>, <a href="http://technorati.com/tag/prism" title="See the Technorati tag page for 'prism'." rel="tag">prism</a></p>]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/rails-interfaces-to-mac-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails case study</title>
		<link>http://highearthorbit.com/ruby-on-rails-case-study/</link>
		<comments>http://highearthorbit.com/ruby-on-rails-case-study/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 13:56:01 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/ruby-on-rails-case-study/</guid>
		<description><![CDATA[Allan from the NonProfitTechBlog pointed me to this article on infoQ, Ruby on Rails case study: ChangingThePresent.org.
The article does a full walk-through, from concept, through development, and to scalability, deliverability, and maintainability, of a Ruby on Rails site/service. 
Discussions (arguments) between the various languages and their frameworks are common. It&#8217;s helpful to see such a [...]]]></description>
			<content:encoded><![CDATA[<p>Allan from the <a href="http://www.nonprofittechblog.org/" rel="coworker">NonProfitTechBlog</a> pointed me to this article on infoQ, <a href="http://www.infoq.com/articles/changing-the-present-case-stud" title="Ruby on Rails case study: ChangingThePresent.org">Ruby on Rails case study: ChangingThePresent.org</a>.</p>
<p>The article does a full walk-through, from concept, through development, and to scalability, deliverability, and maintainability, of a Ruby on Rails site/service. </p>
<p>Discussions (arguments) between the various languages and their frameworks are common. It&#8217;s helpful to see such a readable and poignant presentation of the entire process to address the various issues other developers bring up about the platform. </p>
<p>I have definitely seen the same effects he talks about in the article. Development and updates occur much faster. I can be more productive creating my ideas and getting them to a working prototype. The code is easy to read and small, so its also easy to maintain the code to optimize or extend with new features. </p>
<p>I&#8217;m not saying that the other languages or frameworks fail at this, I know that for me, it feels like its the fastest development I can do short of natural language requirements into code (&#8221;Make me a Map&#8221; <ding!>)</p>
<p class="tags">Tags: <a href="http://technorati.com/tag/rubyonrails" title="See the Technorati tag page for 'rubyonrails'." rel="tag">rubyonrails</a>, <a href="http://technorati.com/tag/casestudy" title="See the Technorati tag page for 'casestudy'." rel="tag">casestudy</a>, <a href="http://technorati.com/tag/business" title="See the Technorati tag page for 'business'." rel="tag">business</a>, <a href="http://technorati.com/tag/webdevelopment" title="See the Technorati tag page for 'webdevelopment'." rel="tag">webdevelopment</a>, <a href="http://technorati.com/tag/infoq" title="See the Technorati tag page for 'infoq'." rel="tag">infoq</a>, <a href="http://technorati.com/tag/changingthepresent" title="See the Technorati tag page for 'changingthepresent'." rel="tag">changingthepresent</a></p>]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/ruby-on-rails-case-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Web3.0 &#8220;The Desktop&#8221; links</title>
		<link>http://highearthorbit.com/more-web30-the-desktop-links/</link>
		<comments>http://highearthorbit.com/more-web30-the-desktop-links/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 16:22:31 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/more-web30-the-desktop-links/</guid>
		<description><![CDATA[I talked a little while ago about the enlightening insight of understanding more about how the next phase of Applications will be &#8220;desktop-deployed web applications&#8221;. This was inspired/aided by listening to the brilliance of people like Matt Webb. Using standardized, hopefully cross-platform technologies, it&#8217;s possible to develop your application once, and &#8220;push&#8221; it to any [...]]]></description>
			<content:encoded><![CDATA[<p>I talked a little while ago about the enlightening insight of understanding more about how the next phase of Applications will be &#8220;desktop-deployed web applications&#8221;. This was inspired/aided by listening to the brilliance of people like <a href="http://interconnected.org/home/" title="Interconnected.org" rel="met">Matt Webb</a>. Using standardized, hopefully cross-platform technologies, it&#8217;s possible to develop your application once, and &#8220;push&#8221; it to any number of devices.</p>
<p><a href="http://highearthorbit.com/wp-content/uploads/2006/10/apollo_travel_big.jpg" title="Apollo Travel Application"><img src="http://highearthorbit.com/wp-content/uploads/2006/10/apollo_travel_big.thumbnail.jpg" align="right" hspace="5px" vspace="5px"/></a><a href="http://ajaxian.com/archives/adobe-apollo-at-max">Ajaxian discusses</a> Adobe&#8217;s new &#8220;Apollo&#8221;:<br />
<blockquote>Apollo is client-based software that will run Flash applications separately from a browser, whether online or offline</p></blockquote>
<p>The image shows an example travel application developed in Flash, and deployed to a desktop via Apollo. (via <a href="http://www.digitalbackcountry.com">Digital Backcountry</a>)</p>
<p>I also saw that <a href="http://factoryjoe.com/">Chris Messina</a> is helping out on a project <a href="http://webkit.pbwiki.com/">WebKit on Rails</a>, whose goal is to make it easier to deploy Apple&#8217;s WebKit and also to &#8220;come up with new ideas and practices that leverage the WebKit platform&#8221;. WebKit is an excellent platform to develop desktop web apps, as it can be baked straight into a Cocoa application, but be accessing a &#8220;web application&#8221; that may be running locally on the users&#8217; machine.</p>
<p><a href="http://code.google.com/p/rails-app-installer/" title="Rails App Installer">rails-app-installer</a> allows you to bundle and install/uninstall a Rails application, including required gems.<br />
<code><br />
   $ gem install my_app<br />
   $ my_app install /some/path<br />
</code></p>
<p class="tags">Tags: <a href="http://technorati.com/tag/web3.0" title="See the Technorati tag page for 'web3.0'." rel="tag">web3.0</a>, <a href="http://technorati.com/tag/desktop" title="See the Technorati tag page for 'desktop'." rel="tag">desktop</a>, <a href="http://technorati.com/tag/deployment" title="See the Technorati tag page for 'deployment'." rel="tag">deployment</a>, <a href="http://technorati.com/tag/rails" title="See the Technorati tag page for 'rails'." rel="tag">rails</a>, <a href="http://technorati.com/tag/webkit" title="See the Technorati tag page for 'webkit'." rel="tag">webkit</a>, <a href="http://technorati.com/tag/chrismessina" title="See the Technorati tag page for 'chrismessina'." rel="tag">chrismessina</a>, <a href="http://technorati.com/tag/mattwebb" title="See the Technorati tag page for 'mattwebb'." rel="tag">mattwebb</a>, <a href="http://technorati.com/tag/tixe" title="See the Technorati tag page for 'tixe'." rel="tag">tixe</a>, <a href="http://technorati.com/tag/adobe" title="See the Technorati tag page for 'adobe'." rel="tag">adobe</a>, <a href="http://technorati.com/tag/apollo" title="See the Technorati tag page for 'apollo'." rel="tag">apollo</a>, <a href="http://technorati.com/tag/railsappinstaller" title="See the Technorati tag page for 'railsappinstaller'." rel="tag">railsappinstaller</a></p>]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/more-web30-the-desktop-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating a site from PHP to Rails</title>
		<link>http://highearthorbit.com/migrating-a-site-from-php-to-rails/</link>
		<comments>http://highearthorbit.com/migrating-a-site-from-php-to-rails/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 10:53:45 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/migrating-a-site-from-php-to-rails/</guid>
		<description><![CDATA[I learn best by picking a project and learning a new technology by applying it to the project. This is how I originally learned PHP, MySQL, and various web technologies when developing the Detroit Curling Club site/portal. Looking back, it&#8217;s amazing I got done what I did with what I knew. I implemented a Wiki, [...]]]></description>
			<content:encoded><![CDATA[<p>I learn best by picking a project and learning a new technology by applying it to the project. This is how I originally learned PHP, MySQL, and various web technologies when developing the <a href="http://detroitcurlingclub.com" title="Detroit Curling Club" rel="me">Detroit Curling Club</a> site/portal. Looking back, it&#8217;s amazing I got done what I did with what I knew. I implemented a Wiki, CMS, user management, uploading, RSS, and so forth, from the ground up, with no frameworks <shudder>. </p>
<p>However, the result also means the code is, shall we say, &#8220;spaghetti&#8221;. And is really no fun to maintain and add to. Since then, I&#8217;ve learned Ruby and Rails and really enjoy working in the language and framework and wanted to reimplement the site. With so many other projects going on, I was concerned about the time necessary to get the site migrated. </p>
<p>Actually, it was rather easy. by stroke of fortune. Here is how the work went.</p>
<h3>On the catwalk&#8230;</h3>
<p>By similar mindset, when I designed the original database schema, I used &#8220;rails-esque&#8221; naming: tables are plural, columns are simple singular names. Join tables are alphabetical of the two tables they are joining. I just had to migrate the names of a couple of tables and columns to mee the rails standard configuration. I could have overriden the table/column names, but didn&#8217;t want to deal with maintaining that. I really wanted the site to work like it was originally written with Rails in mind. </p>
<p>You&#8217;ve obviously created a Rails application by now, so I&#8217;ll skip that. Now, I have my database (with backups). Setup your <code>config/database.yml</code> to point to the database and then run <code>rake db:schema:dump</code> to create the schema.rb of the database. If you want, you can copy this to a migration file. </p>
<p>Next, install <a href="http://magicmodels.rubyforge.org/" title="Dr. Nic's Magic Models at RubyForge">Dr. Nic&#8217;s Magic Models</a>, which automagically give you your model files, associations, basic validations, and so forth with <em>no coding</em>. Magic just begins to describe it. You can verify this by bringing up <code>script/console</code> and toying with your models and associations.  </p>
<h3>Testing is good</h3>
<p>A good idea at this point is to load <a href="http://www.openqa.org/selenium-ide/" title="Selenium IDE">Selenium</a>, a web user-interface testing application, and walk over your original site to create user interface requirements based on current site design. This should stand as your base-line specification. In the end, your Rails app should act like your current application. </p>
<p>You can also check out the work of <a href='http://blog.hasmanythrough.com/articles/2006/08/27/validate-all-your-records' title='Has Many Through blog'>Josh Susser</a> who has a ruby script that will validate all the records in your database using your model validations.</p>
<p>Define your application test specification using <a href="http://www.lukeredpath.co.uk/2006/8/29/developing-a-rails-model-using-bdd-and-rspec-part-1" title="Luke Redpath: Behaviour Driven Design">RSpec and BDD</a>. Again, you already have an existing web application to help define your desired functionality. </p>
<h3>The View, the View</h3>
<p>Now you have a your base application done. You should start migrating your views. Fill in your <code>layout/application.rhtml</code> with the base layout from your original HTML files.  </p>
<p>You&#8217;ll now need to start actually defining your controllers for various functionality: calendar, users, leagues, etc. Along the way, run your tests you defined with RSpec and verify operation. This is where the actual work comes in. Overall though, I find the design of Rails to make this very easy going. I just have to deal with various legacy functionality.</p>
<p>I&#8217;m also looking more at <a href="http://www.ujs4rails.com/" title="Unobtrusive Javascript for Rails">Unobtrusive Javascript for Rails</a> (ujs4rails) at how to handle graceful degradation (or is it graceful upgrading) to browsers that may not support javascript. </p>
<h3>Work in Progress</h3>
<p>That all said, migrating the site has been very easy. So easy I&#8217;m looking at migrating other projects to Rails. Of course, deploying Rails applications to shared hosts is not nearly as easy as deploying PHP ones. Especially with applications that are meant for other users to easily install on their own hosts. But the ease of development and maintenance is not easily overlooked. </p>
<p>If only Apache supported a built-in Rails module. <img src='http://highearthorbit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/migrating-a-site-from-php-to-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tesly is good Testing</title>
		<link>http://highearthorbit.com/tesly-is-good-testing/</link>
		<comments>http://highearthorbit.com/tesly-is-good-testing/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 04:13:56 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/tesly-is-good-testing/</guid>
		<description><![CDATA[Ben Curtis recently released Tesly Jr., is a great web service that runs through your Rails tests, formats the output, displays them, and allows you to share them with other people. It installs as a plugin in your Rails application. Whenever you run rake to test your app, it uploads the results automatically to the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://highearthorbit.com/wp-content/uploads/2006/10/tesly.png" title="Telsy Jr. Results" target="_new"><img src="http://highearthorbit.com/wp-content/uploads/2006/10/tesly.thumbnail.png" alt="Telsy Jr. Results" align="right" hspace="5px" vspace="5px"/></a><a href="http://www.bencurtis.com/archives/2006/10/html-test-reporter-for-rails/" title="Ben Curtis' Blog">Ben Curtis</a> recently released <a href="http://junior.tesly.com/ " title="Tesly Jr.">Tesly Jr.</a>, is a great web service that runs through your Rails tests, formats the output, displays them, and allows you to share them with other people. It installs as a plugin in your Rails application. Whenever you run <code>rake</code> to test your app, it uploads the results automatically to the Tesly Jr. server.</p>
<p>Using Tesly Jr., its very easy to keep your development team up to date with the status of the project. Combine this with <a href="http://blog.testingrails.com/2006/9/4/running-tests-on-deploy-with-capistrano" title="Testing Rails blog">runing tests on deploy</a> with Capistrano (via <a href="http://weblog.jamisbuck.org/2006/10/5/running-tests-on-deploy" title="Jamis Buck Weblog">Jamis Buck</a>) and you have a that much better integration of testing into your development and release cycle. </p>
<p>Tesly Jr. is free when using the hosted service, and available for just $24 if you want your own copy to run on your own systems. </p>
<p class="tags">Tags: <a href="http://technorati.com/tag/rails" title="See the Technorati tag page for 'rails'." rel="tag">rails</a>, <a href="http://technorati.com/tag/ruby" title="See the Technorati tag page for 'ruby'." rel="tag">ruby</a>, <a href="http://technorati.com/tag/programming" title="See the Technorati tag page for 'programming'." rel="tag">programming</a>, <a href="http://technorati.com/tag/rubyonrails" title="See the Technorati tag page for 'rubyonrails'." rel="tag">rubyonrails</a>, <a href="http://technorati.com/tag/teslyjr" title="See the Technorati tag page for 'teslyjr'." rel="tag">teslyjr</a>, <a href="http://technorati.com/tag/bencurtis" title="See the Technorati tag page for 'bencurtis'." rel="tag">bencurtis</a>, <a href="http://technorati.com/tag/testing" title="See the Technorati tag page for 'testing'." rel="tag">testing</a>, <a href="http://technorati.com/tag/capistrano" title="See the Technorati tag page for 'capistrano'." rel="tag">capistrano</a>, <a href="http://technorati.com/tag/jamisbuck" title="See the Technorati tag page for 'jamisbuck'." rel="tag">jamisbuck</a></p>]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/tesly-is-good-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mapufacture</title>
		<link>http://highearthorbit.com/mapufacture/</link>
		<comments>http://highearthorbit.com/mapufacture/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 15:26:11 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[mapufacture]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/mapufacture/</guid>
		<description><![CDATA[I&#8217;ve gotten more involved with the GeoRSS efforts and various tools to use GeoRSS for aggregating geodata. After Where2.0, I started working on a project with Mikel Maron for consuming and mapping GeoRSS feeds. 
The project is Mapufacture. You can subscribe to feeds, create maps as collections of feeds, and share maps with other users. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gotten more involved with the <a href='http://georss.org' title='GeoRSS homepage'>GeoRSS</a> efforts and various tools to use <a href='http://georss.org' title='GeoRSS homepage'>GeoRSS</a> for aggregating geodata. After Where2.0, I started working on a project with <a href='http://brainoff.com' title="Mikel Maron's Homepage" rel="coworker">Mikel Maron</a> for consuming and mapping GeoRSS feeds. </p>
<p>The project is <a href='http://mapufacture.com/georss/' title='Mapufacture front page'>Mapufacture</a>. You can subscribe to feeds, create maps as collections of feeds, and share maps with other users. It&#8217;s still in very active development (one could call it <em>beta</em>, but I won&#8217;t), but is usable. <a href='http://thepochisuperstarmegashow.com/' title="Guilhem Vellut's homepage">Guilhem Vellut</a> is the person responsible for the very nice mapping via <a href='http://thepochisuperstarmegashow.com/ProjectsDoc/ym4r_mapstraction-doc/' title="YM4R Mapstraction documentation">YM4R_Mapstraction library</a>. If you&#8217;d like to give it a try and give feedback that would be great.</p>
<p>Here are some examples of useful maps created with Mapufacture:</p>
<ul>
<li><a href='http://mapufacture.com/georss/map/show/166' title='Mapufacture: WiFi in Grand Rapids'>WiFi in Grand Rapids</a> from <a href='http://jystewart.net/process' title="James Stewart's Weblog" rel="met">James Stewart</a></li>
<li><a href='http://mapufacture.com/georss/map/show/162' title="Mapufacture: Finnish Rescue Services' 100 Lates Events">Finnish Rescue Services&#8217; 100 Lates Events</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/mapufacture/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How does a Framework Scale and not splinter?</title>
		<link>http://highearthorbit.com/how-does-a-framework-scale-and-not-splinter/</link>
		<comments>http://highearthorbit.com/how-does-a-framework-scale-and-not-splinter/#comments</comments>
		<pubDate>Sun, 20 Aug 2006 04:34:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/how-does-a-framework-scale-and-not-splinter/</guid>
		<description><![CDATA[One of the discussions that came up at BarCamp Grand Rapids was how can a framework (and language) scale and grow, without splintering too much. There were a disproportionate number of Java developers present, and one of the few complaints they had about Java was the large number of frameworks that were available. None had [...]]]></description>
			<content:encoded><![CDATA[<p>One of the discussions that came up at <a href='barcamp.org/BarCampGrandRapids' title='BarCamp Grand Rapids Wiki'>BarCamp Grand Rapids</a> was how can a framework (and language) scale and grow, without splintering too much. There were a disproportionate number of Java developers present, and one of the few complaints they had about Java was the large number of frameworks that were available. None had a market dominance, or clear set of features. Every week new frameworks pop up.</p>
<p>Compare to the few of us that were Rails proponents. Currently, Rails is the only Ruby framework with any market share (are there even any others?). The question was, in the future will more Ruby frameworks show up, steal market/mind-share, and splinter the community. Diversity is good, new ideas help spur innovation. However, large fracturing confuses new developers and makes support and interoperability difficult.</p>
<p>One definite way to address this possible problem is by keeping the core framework simple and effective and having good support for extensions, plugins, and additions by other developers. Rails currently does this very well, and it looks like this will become even more solid in the future.</p>
<p>A <a href='http://leviathon.agileevolved.com/' title='Ruby on Rails Plugin Repository'>Ruby on Rails Plugin Repository</a> is being realized and should be fully supported soon. <a href='http://www.lukeredpath.co.uk/2006/8/18/rails-plugin-repository-is-on-the-way' title='Luke Redpath: Rails plugin repository is on the way'>Luke Redpath</a> has a good discussion on the current progress and future path. To date, the plugin repository has been wiki based, or required knowing the appropriate subversion repository for a plugin. This new effort will centralize plugins, promote proper documentation, annotation, and testing.</p>
<p>Perl has <a href='www.cpan.org/' title='CPAN Repository'>CPAN</a>, an absolutely incredible repository of modules that has probably kept Perl alive and made it a very powerful language. Ruby Gems provide a very similar infrastructure for distributing great enhancements to the language. Hopefully, the <a href='http://leviathon.agileevolved.com/' title='Ruby on Rails Plugin Repository'>Ruby on Rails Plugin Repository</a> will keep the community united and working to support and build on a single framework while still allowing them to bring in their application specific features. </p>
<p class="tags">Tags: <a href="http://technorati.com/tag/ruby" title="See the Technorati tag page for 'ruby'." rel="tag">ruby</a>, <a href="http://technorati.com/tag/rails" title="See the Technorati tag page for 'rails'." rel="tag">rails</a>, <a href="http://technorati.com/tag/rubyonrails" title="See the Technorati tag page for 'rubyonrails'." rel="tag">rubyonrails</a>, <a href="http://technorati.com/tag/perl" title="See the Technorati tag page for 'perl'." rel="tag">perl</a>, <a href="http://technorati.com/tag/java" title="See the Technorati tag page for 'java'." rel="tag">java</a>, <a href="http://technorati.com/tag/barcamp" title="See the Technorati tag page for 'barcamp'." rel="tag">barcamp</a>, <a href="http://technorati.com/tag/barcampgrandrapids" title="See the Technorati tag page for 'barcampgrandrapids'." rel="tag">barcampgrandrapids</a>, <a href="http://technorati.com/tag/frameworks" title="See the Technorati tag page for 'frameworks'." rel="tag">frameworks</a></p>]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/how-does-a-framework-scale-and-not-splinter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Export to Excel</title>
		<link>http://highearthorbit.com/export-to-excel/</link>
		<comments>http://highearthorbit.com/export-to-excel/#comments</comments>
		<pubDate>Sat, 19 Aug 2006 06:53:51 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/export-to-excel/</guid>
		<description><![CDATA[Need to quickly export some data to Excel? How about doing it in just a couple of lines of code?
Excel Export Plugin is a Rails plugin to do just that.
Install the plugin:
ruby script/plugin install http://svn.napcsweb.com/public/excel
Here is an example method:

def export_project_to_excel
  e = Excel::Workbook.new
  @project = Project.find(:all)
  e.addWorksheetFromActiveRecord "Project", "project", @project
  headers['Content-Type'] [...]]]></description>
			<content:encoded><![CDATA[<p>Need to quickly export some data to Excel? How about doing it in just a couple of lines of code?</p>
<p><a href='http://www.napcsweb.com/blog/2006/02/10/excel-plugin-10/'>Excel Export Plugin</a> is a <a href='http://rubyonrails.org'>Rails</a> plugin to do just that.</p>
<p>Install the plugin:<br />
<code>ruby script/plugin install http://svn.napcsweb.com/public/excel</code></p>
<p>Here is an example method:</p>
<pre><code>
def export_project_to_excel
  e = Excel::Workbook.new
  @project = Project.find(:all)
  e.addWorksheetFromActiveRecord "Project", "project", @project
  headers['Content-Type'] = "application/vnd.ms-excel"
  render_text(e.build)
end
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/export-to-excel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Testing Rails Apps</title>
		<link>http://highearthorbit.com/testing-rails-apps/</link>
		<comments>http://highearthorbit.com/testing-rails-apps/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 21:09:59 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/testing-rails-apps/</guid>
		<description><![CDATA[Just this past Monday, I was lamenting to the local Ruby Users Group (RUG?) that there was a dearth of good material on Rails tests.
Yesterday a great, succinct, and accurate article on Rails Test Driven Development showed up. The article even discusses using the Hpricot test helper.
I&#8217;ve been very remiss in adding testing to most [...]]]></description>
			<content:encoded><![CDATA[<p>Just this past Monday, I was lamenting to the local Ruby Users Group (RUG?) that there was a dearth of good material on Rails tests.</p>
<p>Yesterday a great, succinct, and accurate article on <a href="http://blog.new-bamboo.co.uk/articles/2006/08/01/rails-tdd-you-never-know-when-the-brakes-might-fail" title="New Bamboo: Rails Test Driven Development">Rails Test Driven Development </a>showed up. The article even discusses using the <a href="http://redhanded.hobix.com/inspect/okayGiveHpricot02AGo.html" title="Hpricot">Hpricot</a> <a href="http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails-views-with-hpricot/" title="Luke Redpath: Testing your Rails views with Hpricot">test helper</a>.</p>
<p>I&#8217;ve been very remiss in adding testing to most of my <a href="http://forestimages.org" title="Forest Images Registry Project" rel="me">rails</a> <a href="http://when2where.com" title="When2Where" rel="me">projects</a>. Now I really have no excuse.</p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/rubyonrails" rel="tag">rubyonrails</a>, <a href="http://www.technorati.com/tag/ruby" rel="tag">ruby</a>, <a href="http://www.technorati.com/tag/hpricot" rel="tag">hpricot</a>, <a href="http://www.technorati.com/tag/when2where" rel="tag">when2where</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/testing-rails-apps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making your Rails project setup easier</title>
		<link>http://highearthorbit.com/making-your-rails-project-setup-easier/</link>
		<comments>http://highearthorbit.com/making-your-rails-project-setup-easier/#comments</comments>
		<pubDate>Thu, 27 Jul 2006 14:39:23 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/making-your-rails-project-setup-easier/</guid>
		<description><![CDATA[Luke Redpath has come up with a brilliant, and simple solution for having to install a large set of standard Rails plugins with each new Rails project.  Rails Plugin Packs™ is a YAML file defined set of plugins that his Plugin will then go through and install.
Therefore, you can build up your set of [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.lukeredpath.co.uk' title='Luke Redpath blog'>Luke Redpath</a> has come up with a brilliant, and simple solution for having to install a large set of standard Rails plugins with each new Rails project.  <a href='http://www.lukeredpath.co.uk/index.php/2006/07/27/install-your-favorite-rails-plugins-easily-with-rails-plugin-packs/'>Rails Plugin Packs™</a> is a YAML file defined set of plugins that his Plugin will then go through and install.</p>
<p>Therefore, you can build up your set of Location based plugins, such as:</p>
<ul>
<li><a href='http://thepochisuperstarmegashow.com/ProjectsDoc/ym4r_mapstraction-doc/'>YM4R Mapstraction</a> </li>
<li><a href='http://rubyforge.org/projects/georuby/'>Georuby</a></li>
<li><a href='http://dev.robotcoop.com/Libraries/'>Yahoo Geocoder and Search</a></li>
<li><a href='http://dev.robotcoop.com/Libraries/metacarta-geoparser/'>Metacarta Geoparser</a></li>
</ul>
<h2>Plugin Packs</h2>
<pre><code>
about:
  name: Mapping Pack
  description: A set of mapping and geocoding plugins
  author: Andrew Turner
  email: rails@highearthorbit.com
  website: http://www.highearthorbit.com
plugins:
  ym4r_mapstraction:
    source: svn://rubyforge.org/var/svn/ym4r/Plugins/Mapstraction/trunk/ym4r_mapstraction
  GeoRuby:
    source:
  metacarta-geoparser:
    source: http://opensource.agileevolved.com/svn/root/rails_plugins/unobtrusive_javascript/tags/rel-0.1
  yahoo-geocode:
    source: http://opensource.agileevolved.com/svn/root/rails_plugins/navigation_mappings/trunk
</code></pre>
<pre><code>
about:
  name: User site
  description: Plugins for a standard site with users for authentication and basic cms
  author: Andrew Turner
  email: rails@highearthorbit.com
  website: http://www.highearthorbit.com
plugins:
  acts_as_authenticated:
    source: http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated
  comatose:
    source: http://mattmccray.com/svn/rails/plugins
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/making-your-rails-project-setup-easier/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ruby and Mapstraction</title>
		<link>http://highearthorbit.com/ruby-and-mapstraction/</link>
		<comments>http://highearthorbit.com/ruby-and-mapstraction/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 18:21:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/ruby-and-mapstraction/</guid>
		<description><![CDATA[Wow, Guilhem has been busy. He recently announced YM4R for Mapstraction. Now you can embed Mapstraction maps into your Ruby on Rails projects. 
In case you didn&#8217;t know, Mapstraction is a Javascript library that encapsulates the API&#8217;s for GoogleMaps, YahooMaps, and Microsoft Virtual Earth maps. You can write once, but switch between any of the [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, <a href='http://thepochisuperstarmegashow.com' title="Guilhem's blog">Guilhem</a> has been busy. He recently <a href='http://thepochisuperstarmegashow.com/2006/07/22/ym4rgm-update-ym4rmapstraction/'>announced YM4R for Mapstraction</a>. Now you can embed <a href='http://www.mapstraction.com'>Mapstraction</a> maps into your Ruby on Rails projects. </p>
<p>In case you didn&#8217;t know, <a href='http://www.mapstraction.com'>Mapstraction</a> is a Javascript library that encapsulates the API&#8217;s for <a href='http://www.google.com/apis/maps'>GoogleMaps</a>, <a href='http://developer.yahoo.com/maps'>YahooMaps</a>, and <a href='http://www.viavirtualearth.com/VVE/Dashboard/Default.ashx'>Microsoft Virtual Earth</a> maps. You can write once, but switch between any of the map types.</p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/ruby-and-mapstraction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YM4R &#8211; Rails mapping with GeoRSS support</title>
		<link>http://highearthorbit.com/ym4r-rails-mapping-with-georss-support/</link>
		<comments>http://highearthorbit.com/ym4r-rails-mapping-with-georss-support/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 22:30:49 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[GeoRSS]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/ym4r-rails-mapping-with-georss-support/</guid>
		<description><![CDATA[The newer, more full-featured kid on the embedding Maps-in-your-Rails-App-block has gotten an update. YM4R v0.5.1 was released a couple of days ago. It&#8217;s now mostly a plugin, instead of a gem, since it includes a lot of Rails specific stuff. There are Ruby libraries for creating GoogleMaps tiles, and geocoding that are still in the [...]]]></description>
			<content:encoded><![CDATA[<p>The newer, more full-featured kid on the embedding Maps-in-your-Rails-App-block has gotten an update. <a href='http://thepochisuperstarmegashow.com/2006/07/08/ym4r-051/' title='YM4R v0.5.1 release announcement'>YM4R v0.5.1</a> was released a couple of days ago. It&#8217;s now mostly a plugin, instead of a gem, since it includes a lot of Rails specific stuff. There are Ruby libraries for creating GoogleMaps tiles, and geocoding that are still in the gem, which is great too.</p>
<p>And I&#8217;ve even done my part to contribute by submitting my GeoRSS Simple Parser. </p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/ym4r" rel="tag">ym4r</a>, <a href="http://www.technorati.com/tag/plugin" rel="tag">plugin</a>, <a href="http://www.technorati.com/tag/rubyonrails" rel="tag">rubyonrails</a>, <a href="http://www.technorati.com/tag/rails" rel="tag">rails</a>, <a href="http://www.technorati.com/tag/ruby" rel="tag">ruby</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/ym4r-rails-mapping-with-georss-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geographic support in Ruby gems</title>
		<link>http://highearthorbit.com/435/</link>
		<comments>http://highearthorbit.com/435/#comments</comments>
		<pubDate>Sat, 17 Jun 2006 21:26:25 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Cartographer Plugin]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[Open-Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/435/</guid>
		<description><![CDATA[I ran across GeoRuby, a Ruby gem for handling spatial data types in a database, awhile ago. However, I never sunk my teeth into how it worked and how to get it going.
In the meantime, I settled myself to using the adequate Cartographer Plugin to easily create Google Maps. I even went so far as [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across <a href='http://rubyforge.org/projects/georuby/'>GeoRuby</a>, a Ruby gem for handling spatial data types in a database, awhile ago. However, I never sunk my teeth into how it worked and how to get it going.</p>
<p>In the meantime, I settled myself to using the adequate <a href='http://rubyforge.org/projects/cartographer/'>Cartographer Plugin</a> to easily create Google Maps. I even went so far as to extend Cartographer to switch to Yahoo! maps and MapQuest Maps. </p>
<p>I just came across another mapping gem, <a href='http://rubyforge.org/projects/ym4r/'>YM4R</a> (yellow maps for Ruby) which handles GoogleMaps v2 (there is a patch for Cartographer to do the same), and Yahoo! maps, local, and traffic. Wow!</p>
<p>Not only that, it&#8217;s by the same developer of GeoRuby, <a href='http://thepochisuperstarmegashow.com'>The Pochi Superstar Mega Show!</a>. </p>
<p>Check out the very good, and complete <a href='http://thepochisuperstarmegashow.com/2006/06/02/ym4r-georuby-spatial-adapter-demo/'>Ym4r + GeoRuby + Spatial Adapter tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/435/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Setting up and Testing Rails apps on Mac OS X</title>
		<link>http://highearthorbit.com/setting-up-and-testing-rails-apps-on-mac-os-x/</link>
		<comments>http://highearthorbit.com/setting-up-and-testing-rails-apps-on-mac-os-x/#comments</comments>
		<pubDate>Sun, 21 May 2006 15:07:00 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/setting-up-and-testing-rails-apps-on-mac-os-x/</guid>
		<description><![CDATA[I&#8217;ve been rapidly prototyping and developing a lot of Ruby on Rails applications. I don&#8217;t want to run lots of WebBrick servers, or configure lighty. I&#8217;d rather just use apache for local development, which is much quicker and doesn&#8217;t involve ports, and explicitly running stand-alone servers.
The instructions below are the quick, and bare-bones steps needed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been rapidly prototyping and developing a lot of Ruby on Rails applications. I don&#8217;t want to run lots of WebBrick servers, or configure lighty. I&#8217;d rather just use apache for local development, which is much quicker and doesn&#8217;t involve ports, and explicitly running stand-alone servers.</p>
<p>The instructions below are the quick, and bare-bones steps needed to get a rails app up for development on a Mac OS X machine. </p>
<h3>Create your rails application</h3>
<p><code>$ rails ~/Projects/myapp</code></p>
<h3>Edit your apache config file</h3>
<p>You need to setup your apache to know how to handle the <em>/myapp</em> URL request. Put the following at the bottom of your <em>httpd.conf</em> file.</p>
<p><em>/etc/httpd/httpd.conf</em></p>
<pre><code>
FastCgiServer /Users/username/Projects/myapp/public/dispatch.fcgi
    -idle-timeout 120 -initial-env RAILS_ENV=development -processes 1
Alias /myapp/ "/Users/username/Projects/myapp/public/"
Alias /myapp "/Users/username/Projects/myapp/public/"

&lt;directory /Users/username/Projects/myapp/public/&gt;
&nbsp;&nbsp;Options ExecCGI FollowSymLinks
&nbsp;&nbsp;AllowOverride all
&nbsp;&nbsp;Order allow, deny
&nbsp;&nbsp;Allow from all
&lt;/directory&gt;
</code></pre>
<h3>Restart Apache</h3>
<p>After you&#8217;ve edited the file, you need to restart apache:<br />
<code>$ sudo apachectl graceful</code></p>
<h3>Set the rails base address</h3>
<p>Now you need to let rails know what the base address is for the URL&#8217;s:<br />
<em>~/Projects/myapp/public/.htaccess</em><br />
<code><br />
RewriteBase /myapp<br />
</code></p>
<h3>Test that it works</h3>
<p>Navigate your browser to <em>http://localhost/myapp</em>, and you should see the happy <strong>Welcome aboard</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/setting-up-and-testing-rails-apps-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uninitialized constant ActionMailer</title>
		<link>http://highearthorbit.com/uninitialized-constant-actionmailer/</link>
		<comments>http://highearthorbit.com/uninitialized-constant-actionmailer/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 14:24:50 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Open-Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://highearthorbit.com/uninitialized-constant-actionmailer/</guid>
		<description><![CDATA[A word to the wise of rails developers. Hopefully this makes it to Google search, because when I looked it up, there wasn&#8217;t an answer. 
If you&#8217;re configuring ActionMailer and you try to run the console and get the following messages:


[host]$ script/console
Loading development environment.
./script/../config/../config/environment.rb:41:NameError:
  uninitialized constant ActionMailer
/home/highearth/.gems/gems/actionpack-1.12.1/lib/action_controller/integration.rb:15:
  NameError: uninitialized constant ActionController::Integration::Session::Test
./script/../config/../config/../app/controllers/application.rb:3:
  NameError: [...]]]></description>
			<content:encoded><![CDATA[<p>A word to the wise of rails developers. Hopefully this makes it to Google search, because when I looked it up, there wasn&#8217;t an answer. </p>
<p>If you&#8217;re configuring ActionMailer and you try to run the console and get the following messages:<br />
<code></p>
<pre>
[host]$ script/console
Loading development environment.
./script/../config/../config/environment.rb:41:NameError:
  uninitialized constant ActionMailer
/home/highearth/.gems/gems/actionpack-1.12.1/lib/action_controller/integration.rb:15:
  NameError: uninitialized constant ActionController::Integration::Session::Test
./script/../config/../config/../app/controllers/application.rb:3:
  NameError: uninitialized constant ActionController::Base
</pre>
<p></code></p>
<p>Make sure your ActionMailer configuration in your <code>config/environment.rb</code> file is <strong>after</strong> your <code>Rails::Initializer.run do |config|</code> block. </p>
]]></content:encoded>
			<wfw:commentRss>http://highearthorbit.com/uninitialized-constant-actionmailer/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
	</channel>
</rss>

