<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en-US">
  <title>Silvio's Box - techblog</title>
  <id>tag:www.relli.org,2012:mephisto/</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  
  <link href="http://www.relli.org/" rel="alternate" type="text/html" />
  <updated>2010-09-16T09:12:12Z</updated>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/silviorelli" /><feedburner:info uri="silviorelli" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-09-16:112</id>
    <published>2010-09-16T09:11:00Z</published>
    <updated>2010-09-16T09:12:12Z</updated>
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/5FfYG962wPg/railsblog" rel="alternate" type="text/html" />
    <title>Railsblog</title>
<content type="html">
            &lt;p&gt;As you may have noticed, it’s been a long time since my last post.&lt;/p&gt;


	&lt;p&gt;I’m moving most of my blogger efforts to &lt;a href="http://www.railsblog.it"&gt;Railsblog&lt;/a&gt;, a blog written in italian mainly focused on Ruby on Rails.&lt;/p&gt;


	&lt;p&gt;You can keep following me on &lt;a href="http://www.railsblog.it"&gt;http://www.railsblog.it&lt;/a&gt;&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/5FfYG962wPg" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/9/16/railsblog</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-03-27:31</id>
    <published>2010-03-27T19:03:00Z</published>
    <updated>2010-03-27T19:14:00Z</updated>
    <category term="rails3" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/2rh3sQ0Fj_U/a-good-rails-3-article-from-ibm" rel="alternate" type="text/html" />
    <title>A good Rails 3 article from IBM</title>
<content type="html">
            &lt;p&gt;That’s another &lt;a href="http://www.ibm.com/developerworks/web/library/wa-introrails3/index.html"&gt;very good article&lt;/a&gt; covering Rails 3, from &lt;span class="caps"&gt;IBM&lt;/span&gt; developerWorks, the &lt;span class="caps"&gt;IBM&lt;/span&gt;’s resource for developers and IT professionals.&lt;/p&gt;


	&lt;p&gt;In this article, you’ll take a look at Rails 3 and its many changes and additions and create a new Rails 3 application from scratch.&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/2rh3sQ0Fj_U" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/3/27/a-good-rails-3-article-from-ibm</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-02-02:18</id>
    <published>2010-02-02T10:44:00Z</published>
    <updated>2010-02-02T10:45:43Z</updated>
    <category term="howto" />
    <category term="rails3" />
    <category term="screencast" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/MW1ICCBOGU8/how-to-upgrade-rails-2-apps-to-rails-3-free-screencast" rel="alternate" type="text/html" />
    <title>How to upgrade Rails 2 apps to Rails 3 free screencast</title>
<content type="html">
            &lt;p&gt;A fantastic screencast from Geoffrey Grosenbach showing how to convert an app from Rails 2 to Rails 3 edge!&lt;/p&gt;


	&lt;p&gt;Get it &lt;a href="http://peepcode.com/system/uploads/2010/peepcode-free-004-live-coding-rails-3-upgrade.mov"&gt;there&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;From &lt;a href="http://blog.peepcode.com/tutorials/2010/live-coding-rails-3-upgrade"&gt;his article&lt;/a&gt; :&lt;/p&gt;


	&lt;p&gt;“For several months people have wondered, ‘Where can I download a video that features a developer stumbling through an upgrade of a Rails 2 app to Rails 3?’&lt;/p&gt;


	&lt;p&gt;I’m proud to say that an answer is now available!&lt;/p&gt;


	&lt;p&gt;In only 25 minutes, I convert my news screenshot site from Rails 2.x to Rails 3 (prerelease, from source).&lt;/p&gt;


	&lt;p&gt;It features the newest bundler (0.9.0.pre), Jeremy McAnally’s rails-upgrade script, new routes, Arel-based ActiveRecord queries, and more.”&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://blog.peepcode.com/tutorials/2010/live-coding-rails-3-upgrad"&gt;&lt;span class="caps"&gt;SOURCE&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/MW1ICCBOGU8" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/2/2/how-to-upgrade-rails-2-apps-to-rails-3-free-screencast</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-30:16</id>
    <published>2010-01-30T11:19:00Z</published>
    <updated>2010-01-30T11:19:59Z</updated>
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/PmhtHN66qtQ/exploring-rails-3-free-online-conference" rel="alternate" type="text/html" />
    <title>Exploring Rails 3 free online conference</title>
<content type="html">
            &lt;p&gt;Thursday, February 18th joint this fantastic online conference.&lt;/p&gt;


	&lt;p&gt;Rails 3 is taking its final shape, so there’s no better time to take a close look at the work that’s been done in the past year.&lt;/br&gt;
Join us for a series of talks on everything you’ll need to get started with it – from creating a new application, to upgrading from Rails 2, to the foundation that makes it all possible.&lt;/p&gt;


	&lt;p&gt;Who’s Speaking?&lt;/p&gt;


	&lt;p&gt;Getting up-to-date with Rails 3&lt;br /&gt;
Speaker: Yehuda Katz, Engine Yard&lt;br /&gt;
Rails 3 is a lot of things. Yehuda will go through the important high-level changes, giving you a starting point for digging into the improvements the Rails team has made for Rails 3.&lt;/p&gt;


	&lt;p&gt;Rails 2 to the 3 (Abridged)&lt;br /&gt;
Speaker: Gregg Pollack, Envy Labs&lt;br /&gt;
This talk will give an overview of what has improved with a highlight reel of some of the best parts.&lt;/p&gt;


	&lt;p&gt;Why Port?&lt;br /&gt;
Speaker: Jeremy Kemper, 37signals&lt;br /&gt;
Rails 3 is the clear choice for new apps, but is it worth porting your apps running on Rails 2.3 and older?&lt;/p&gt;


	&lt;p&gt;Rack in Rails 3&lt;br /&gt;
Speaker: Ryan Tomayko, GitHub&lt;br /&gt;
In this talk we’ll take a look at Rack: why it was created, how it caught fire across Ruby web frameworks, and how to build Rack components that further extend Rails 3’s &lt;span class="caps"&gt;HTTP&lt;/span&gt; pipeline.&lt;/p&gt;


	&lt;p&gt;A recording of the conference will also be available to all participants after the event.&lt;br /&gt;
You will have access to it throughout the year.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://en.oreilly.com/railswinter10?utm_source=www.relli.org"&gt;&lt;span class="caps"&gt;SOURCE&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/PmhtHN66qtQ" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/30/exploring-rails-3-free-online-conference</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-25:14</id>
    <published>2010-01-25T18:16:00Z</published>
    <updated>2010-01-25T18:19:16Z</updated>
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/bjtJbBuVS-Q/rails-3-active-record-usage-in-pills" rel="alternate" type="text/html" />
    <title>Rails 3 Active Record usage in pills</title>
<content type="html">
            &lt;p&gt;In Rails 3.1 passing options hash containing &lt;code&gt;:conditions, :include, :joins, :limit, :offset, :order, :select, :readonly, :group, :having, :from, :lock&lt;/code&gt; to any of the ActiveRecord provided class methods will be deprecated, and completly removed on Rails 3.2.&lt;/p&gt;


	&lt;p&gt;The following shows a few example of the &lt;strong&gt;deprecated usages&lt;/strong&gt;:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;User.find(:all, :limit =&amp;gt; 1)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;User.find(:all)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;User.find(:first)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;User.first(:conditions =&amp;gt; {:name =&amp;gt; 'lifo'})&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;User.all(:joins =&amp;gt; :items)&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;Many other useful things will be deprecated:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;named_scope :red, :conditions =&amp;gt; { :colour =&amp;gt; 'red' }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;named_scope :red, lambda {|colour| {:conditions =&amp;gt; { :colour =&amp;gt; colour }} }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;with_scope(:find =&amp;gt; {:conditions =&amp;gt; {:name =&amp;gt; 'lifo'}) { ... }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;with_exclusive_scope(:find =&amp;gt; {:limit =&amp;gt;1}) { ... }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;default_scope :order =&amp;gt; "id DESC"&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;red_items = Item.scoped_by_colour('red')&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;red_old_items = Item.scoped_by_colour_and_age('red', 2)&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;ActiveRecord in Rails 3 will have the following &lt;strong&gt;new finder methods:&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;where (:conditions)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;select&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;group&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;order&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;limit&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;joins&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;includes (:include)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;lock&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;readonly&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;from&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;Some examples of the new usage:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;lifo = User.where(:name =&amp;gt; 'lifo')&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;new_users = User.order('users.id DESC').limit(20).includes(:items)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;cars = Car.where(:colour =&amp;gt; 'black')&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;rich_ppls_cars = cars.order('cars.price DESC').limit(10)&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Lazy Loading&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;As it might be clear from the examples above, relations are loaded lazily – i.e you call an enumerable method on them. This is very similar to how associations and named_scopes already work.&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;cars = Car.where(:colour =&amp;gt; 'black') # No Query&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;cars.each {|c| puts c.name } # Fires "select * from cars where ..."&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;This is very useful along side fragment caching. So in your controller action, you could just do :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;def index&lt;/code&gt;&lt;br /&gt;
&lt;code&gt; @recent_items = Item.limit(10).order('created_at DESC')&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;end&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;And in your view :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;&amp;lt;% cache('recent_items') do %&amp;gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  &amp;lt;% @recent_items.each do |item| %&amp;gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;    ...&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  &amp;lt;% end %&amp;gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&amp;lt;% end %&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;In the above example, @recent_items are loaded on @recent_items.each call from the view. As the controller doesn’t actually fire any query, fragment caching becomes more effective without requiring any special work arounds.&lt;/p&gt;


	&lt;p&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;New scopes&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;named_scope&lt;/code&gt; have now been renamed to just &lt;code&gt;scope&lt;/code&gt;.&lt;/p&gt;


	&lt;p&gt;Using the method named_scope is deprecated in Rails 3.0. But the only change you’ll need to make is to remove the “named_” part. Supplying finder options hash will be deprecated in Rails 3.1.&lt;/p&gt;


	&lt;p&gt;So a definition like :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;class Item&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  named_scope :red, :conditions =&amp;gt; { :colour =&amp;gt; 'red' }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  named_scope :since, lambda {|time| {:conditions =&amp;gt; ["created_at &amp;gt; ?", time] }}&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;end&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;Now becomes :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;class Item&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  scope :red, :conditions =&amp;gt; { :colour =&amp;gt; 'red' }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  scope :since, lambda {|time| {:conditions =&amp;gt; ["created_at &amp;gt; ?", time] }}&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;end&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;However, as using options hash is going to be deprecated in 3.1, you should write it using the new finder methods :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;class Item&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  scope :red, where(:colour =&amp;gt; 'red')&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;  scope :since, lambda {|time| where("created_at &amp;gt; ?", time) }&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;end&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://m.onkey.org/2010/1/22/active-record-query-interface"&gt;&lt;span class="caps"&gt;SOURCE&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/bjtJbBuVS-Q" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/25/rails-3-active-record-usage-in-pills</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-22:13</id>
    <published>2010-01-22T11:56:00Z</published>
    <updated>2010-01-22T12:47:28Z</updated>
    <category term="rails" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/ejdY410I2ZE/whats-new-in-rails-3" rel="alternate" type="text/html" />
    <title>What's new in Rails 3</title>
<content type="html">
                         
&lt;br /&gt;

          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/ejdY410I2ZE" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/22/whats-new-in-rails-3</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-19:9</id>
    <published>2010-01-19T13:00:00Z</published>
    <updated>2010-01-19T16:53:47Z</updated>
    <category term="mac" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/rJTrHKwnq2I/magicprefs" rel="alternate" type="text/html" />
    <title>MagicPrefs</title>
<content type="html">
            &lt;p&gt;MagicPrefs is a free menubar and preference pane application for &lt;span class="caps"&gt;OSX&lt;/span&gt; which aims to improve the functionality and configuration options of the Apple Magic Mouse.&lt;br /&gt;&lt;br /&gt;It features the ability to bind a variable number of finger clicks, taps, swipes, pinch and other gestures to functions like Middle Click , Hold Down Both Mouse Buttons , Spaces , Expose, Dashboard etc.&lt;br /&gt;&lt;br /&gt;Touch Sensitivity implements a single point control for a number of factors impacting the algorithms of the taps, swipes, pinch and other gestures.&lt;br /&gt;&lt;br /&gt;Tracking Speed adds the ability to increase the maximum mouse speed by a extra 200%.&lt;br /&gt;&lt;br /&gt;Also featured is a real-time display of the fingers touching the surface of the mouse that you can enable to test and monitor the way the mouse sees your input.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="citation"&gt;&lt;cite cite="http://vladalexa.com/apps/osx/magicprefs/"&gt;&lt;a href="http://vladalexa.com/apps/osx/magicprefs/"&gt;MagicPrefs&lt;/a&gt;&lt;/cite&gt;.&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/rJTrHKwnq2I" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/19/magicprefs</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-16:11</id>
    <published>2010-01-16T18:29:00Z</published>
    <updated>2010-01-22T11:59:55Z</updated>
    <category term="rails" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/qONgc6WRKFA/do-one-thing-for-rails-3-on-january-16th-and-17th" rel="alternate" type="text/html" />
    <title>Do One Thing for Rails 3 on January 16th and 17th</title>
<content type="html">
            &lt;p&gt;&lt;br /&gt;Rails 3 is coming. Rather than run a typical BugMash where everyone attacks the &lt;a href="https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/overview"&gt;Rails Core Issue Tracker&lt;/a&gt;, we thought we&amp;rsquo;d try something a bit different. On January 16th and 17th, we&amp;rsquo;ll be asking the Rails community to do one thing for Rails 3.&lt;br /&gt;&lt;br /&gt;* &lt;a href="https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones/27004-rails-3"&gt;Fix a known issue&lt;/a&gt;&lt;br /&gt;* Report a bug&lt;br /&gt;* Make sure your favorite gem or plugin still works. If not, fork it and make it so.&lt;br /&gt;* Write a blog post about a certain component&lt;br /&gt;* Write some documentation&lt;br /&gt;* Get an app up and running and document what you had to do to upgrade.&lt;br /&gt;* Create a screencast&lt;br /&gt;&lt;br /&gt;We hope that you won&amp;rsquo;t stop at doing just one of these ideas. Do something creative to help make Rails 3 better.&lt;br /&gt;&lt;br /&gt;We&amp;rsquo;ll announce a way for you to submit your entries later this week.&lt;br /&gt;&lt;br /&gt;We also have a list of great prizes for anyone that participates. Your one good deed will not only help the Rails community, but it will also enter you in a raffle for these great prizes:&lt;br /&gt;&lt;br /&gt;* $300 credit from 37signals. for Basecamp or Campfire_.&lt;br /&gt;* 1 annual subscription to Less Accounting from Less Everything&lt;br /&gt;* 1 year&amp;rsquo;s small plan from GitHub&lt;br /&gt;* New Relic is donating 1 year of New Relic &lt;span class="caps"&gt;RPM&lt;/span&gt; Gold for 1 Host.&lt;br /&gt;* &lt;span class="caps"&gt;BDD&lt;/span&gt; Casts is donating 1 15 credit pack and 3 5 credit packs which shall be awarded to 4 different participants.&lt;br /&gt;* Peepcode is donating 2 credits which will be awarded to 2 different participants.&lt;br /&gt;* 1 copy of the Rails Freelancing Handbook from Mike Gunderloy&lt;br /&gt;* 1 copy of the Rails Rescue Handbook from Mike Gunderloy&lt;br /&gt;* An ebook (3 prizes will be awarded) from the Pragmatic Bookshelf (selection excludes the Pragmatic Programmer and the SitePoint collection)&lt;br /&gt;* Vinsol is donating a $50 Amazon Giftcard.&lt;br /&gt;&lt;br /&gt;More details can be found in the &lt;a href="http://railsbridge.org/BugMashGuide.pdf"&gt;BugMash Guide&lt;/a&gt; and the &lt;a href="http://wiki.railsbridge.org/"&gt;RailsBridge Wiki&lt;/a&gt;. Additionally, the RailsBridge team, and hopefully some Core Team members, will be available on &lt;span class="caps"&gt;IRC&lt;/span&gt; in #railsbridge on Freenode.&lt;br /&gt;&lt;/p&gt;
&lt;p class="citation"&gt;&lt;cite cite="http://railsbridge.org/news_items/10"&gt;&lt;a href="http://railsbridge.org/news_items/10"&gt;Do One Thing for Rails 3 on January 16th and 17th&lt;/a&gt;&lt;/cite&gt;.&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/qONgc6WRKFA" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/16/do-one-thing-for-rails-3-on-january-16th-and-17th</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-07:8</id>
    <published>2010-01-07T23:01:00Z</published>
    <updated>2010-01-07T23:03:42Z</updated>
    <category term="rails" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/Iv4oPbi9tGI/add-github-gem-repository" rel="alternate" type="text/html" />
    <title>Add github gem repository</title>
<content type="html">
            &lt;p&gt;To add github gem repository as a gem source just type:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt; sudo gem sources -a http://gems.github.com &lt;/code&gt;&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/Iv4oPbi9tGI" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/7/add-github-gem-repository</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-07:7</id>
    <published>2010-01-07T22:23:00Z</published>
    <updated>2010-01-07T22:33:29Z</updated>
    <category term="hackintosh" />
    <category term="leopard" />
    <category term="linux" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/Vz2rRQxOPO4/booting-osx-10-5-leopard-hackintosh-with-grub2" rel="alternate" type="text/html" />
    <title>Booting OSX 10.5 Leopard Hackintosh with grub2</title>
<content type="html">
            &lt;p&gt;The new Grub2 os-prober script can successfully detect and confgure my triple boot system (Debian, WinXp and Osx), but my hackintosh is a bit unstable running on a multi-core cpu.&lt;/p&gt;


	&lt;p&gt;The solution is passing the cpu=1 parameter to Leopard’s kernel, but I wasn’t able to do that via the os-prober, so I created a new menuentry.&lt;/p&gt;


	&lt;p&gt;Put the following lines inside /etc/grub.d/40_custom :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt; menuentry "MANUAL Hackintosh OSX Leopard 10.5" { &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; set root=(hd0,2) &lt;/code&gt; &lt;br /&gt;
&lt;code&gt;chainloader /usr/standalone/i386/chain0 cpu=1 &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; } &lt;/code&gt; &lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;Grub2 counts devices starting from 0 and partitions from 1, my hackintosh is installed on the second partition of the first drive:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;WinXP on /dev/sda1 becomes root=(hd0,1) for grub2&lt;/li&gt;
		&lt;li&gt;Osx on /dev/sda2 becomes  root=(hd0,2) for grub2&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Just for completeness, this is my full /etc/grub.d/40_custom :&lt;/p&gt;


	&lt;p&gt;&lt;code&gt; #!/bin/sh &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; exec tail -n +3 $0 &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; # This file provides an easy way to add custom menu entries.  Simply type the &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; # menu entries you want to add after this comment.  Be careful not to change &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; # the 'exec tail' line above. &lt;/code&gt; &lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt; menuentry "MANUAL Win XP" { &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; set root=(hd0,1) &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; chainloader +1 &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; } &lt;/code&gt; &lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;code&gt; menuentry "MANUAL Hackintosh OSX Leopard 10.5" { &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; set root=(hd0,2) &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; chainloader /usr/standalone/i386/chain0 cpu=1 &lt;/code&gt; &lt;br /&gt;
&lt;code&gt; } &lt;/code&gt; &lt;br /&gt;&lt;/p&gt;


	&lt;p&gt;Don’t forget to run &lt;code&gt; update-grub &lt;/code&gt; to generate the new /boot/grub/grub.cfg&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/Vz2rRQxOPO4" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/7/booting-osx-10-5-leopard-hackintosh-with-grub2</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2010-01-07:6</id>
    <published>2010-01-07T12:36:00Z</published>
    <updated>2010-01-16T19:08:08Z</updated>
    <category term="mephisto" />
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/onet9b_UxTs/mephisto_xmlrpc-plugin-for-mephisto-0-8-2" rel="alternate" type="text/html" />
    <title>mephisto_xmlrpc plugin for mephisto 0.8.2</title>
<content type="html">
            &lt;p&gt;Installation&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;./script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Follow &lt;span class="caps"&gt;README&lt;/span&gt; for further installation instructions.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.railshacks.com/2009/10/01/mephisto_xmlrpc-plugin-for-mephisto-0-8-2-released"&gt;Source&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.railshacks.com/2008/07/21/mephisto-xmlrpc-plugin-released-for-mephisto-0-8-and-mephisto-edge"&gt;Related&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://github.com/jeet/mephisto_xmlrpc"&gt;Related&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt;:&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Follow these updated steps, the included readme is very old and instructions doesn’t work!&lt;/p&gt;


	&lt;p&gt;1:  Edit file &lt;code&gt;app/controllers/application/error.rb&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Locate these lines&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;rescue_from ActiveRecord::RecordNotFound,        :with =&amp;gt; :render_admin_not_found&lt;/code&gt;
&lt;code&gt;rescue_from ActionController::UnknownController, :with =&amp;gt; :render_admin_not_found&lt;/code&gt;
&lt;code&gt;rescue_from ActionController::UnknownAction,     :with =&amp;gt; :render_admin_not_found&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Change these lines to&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;rescue_from ::ActiveRecord::RecordNotFound,        :with =&amp;gt; :render_admin_not_found&lt;/code&gt;
&lt;code&gt;rescue_from ::ActionController::UnknownController, :with =&amp;gt; :render_admin_not_found&lt;/code&gt;
&lt;code&gt;rescue_from ::ActionController::UnknownAction,     :with =&amp;gt; :render_admin_not_found&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Save the file.&lt;/p&gt;


	&lt;p&gt;2. Add github repo&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;sudo gem sources -a http://gems.github.com &lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;3. Get the actionwebservice gem&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;sudo gem install datanoise-actionwebservice -v='2.2.2'&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;4. Add the following line to config/environement.rb&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;config.gem 'datanoise-actionwebservice', :version =&amp;gt; '2.2.2', :lib =&amp;gt; 'actionwebservice', :source =&amp;gt; 'http://gems.github.com'&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;5. Restart your server&lt;/p&gt;


	&lt;p&gt;Now you have working xmlrpc service at http://YOURSITE.com/xmlrpc&lt;/p&gt;


	&lt;p&gt;Enjoy!&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/onet9b_UxTs" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2010/1/7/mephisto_xmlrpc-plugin-for-mephisto-0-8-2</feedburner:origLink></entry>
  <entry xml:base="http://www.relli.org/">
    <author>
      <name>silvio</name>
    </author>
    <id>tag:www.relli.org,2009-12-23:1</id>
    <published>2009-12-23T10:19:00Z</published>
    <updated>2009-12-23T10:20:22Z</updated>
    <link href="http://feedproxy.google.com/~r/silviorelli/~3/IScJ7xBHQDI/hello-world" rel="alternate" type="text/html" />
    <title>Hello world!</title>
<content type="html">
            &lt;p&gt;First post&lt;/p&gt;
          &lt;img src="http://feeds.feedburner.com/~r/silviorelli/~4/IScJ7xBHQDI" height="1" width="1"/&gt;</content>  <feedburner:origLink>http://www.relli.org/2009/12/23/hello-world</feedburner:origLink></entry>
</feed>

