Posted over 2 years back at Rails Envy - Home
Episode 87. We bring you the latest news in the Ruby and Rails world. By we I mean I. The greatly delayed podcast 85 will be out in the next couple of days and features a couple awesome surprise co-hosts.

Subscribe via iTunes – iTunes only link.
Download the podcast ~11:30 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader

Runway is a GTD-style action management web application made by geeks for geeks. Created by the folks at Cogent, try a free demo at http://www.runwayapp.com.

NewRelic not only provides rails performance monitoring with RPM, but they also produce Rails Lab, a website dedicated to advice on tuning and optimizing Rails apps.
Show Notes
Posted over 2 years back at blog.to_html :
is_paranoid is exactly what I’ve been looking for. It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Here we have the same table acting like two models based on a default scope. So simple, yet brilliant. Why didn’t I think of this earlier?
Consider this:
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Spectacularly to the point. Of course this has uses outside the scope of is_paranoid.
Posted over 2 years back at Ruby Inside

Several weeks ago, stock icon company Iconshock offered to design some icons for Ruby Inside to give to its readers. Initially skeptical, I was convinced to give it a try after seeing some of their other work. Now, the first 6 icons are back and.. they're totally free for you to use. Grab this ZIP file that contains PNG and EPS (ideal for Illustrator) versions of the icons and give them a go!
The six icons signify Ruby on Rails, Ruby itself, two file types (Ruby and RubyGems), an application, and a generic cog. All can be used as you see fit. Iconshock told me that there are "no special terms or conditions" and that they can be used "for personal and commercial projects." They'd be cool to use in logos for Ruby libraries, on your blog, or anywhere else where Ruby related imagery would come in useful. Giving Iconshock credit is optional but appreciated.
What icons do you want to see next?
Iconshock have already expressed an interest in producing a second set of icons for Ruby Inside. What do you want to see? The first set were based on my ideas, but next time around they can produce the icons that you really want or think would be useful to the Ruby and Rails communities. What sort of icons could you use for your Ruby related Web sites, blogs, libraries, events, and so forth? Leave a comment against this post.
So who are Iconshock anyway?

Ruby Inside has no financial relationship with Iconshock - we get some cool icons to give away in return for pointing out that Iconshock made them, and that they have plenty more (700,000+!) for sale on their site. They seem quite experienced in producing icons for applications and all of the icons I've browsed through in their catalog have been impressive so far.
So, check Iconshock out if you're interested in buying some icon sets or getting your own custom icons done (for $50 each if you want three or more). Perhaps they'll keep making us some cool free icons to give away..
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
is_paranoid is exactly what I’ve been looking for. It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Here we have the same table acting like two models based on a default scope. So simple, yet brilliant. Why didn’t I think of this earlier?
Consider this:
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Spectacularly to the point. Of course this has uses outside the scope of is_paranoid.
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at blog.to_html :
  is_paranoid is exactly what I’ve been looking for.  It’s like acts_as_paranoid, but up to date with ActiveRecord’s new default scopes, which simplifies the gem quite a bit.
One idea I really like was brought on by seeing this example:
Â
class Pirate < ActiveRecord::Base
is_paranoid :field => [:alive, false, true]
end
class DeadPirate < ActiveRecord::Base
set_table_name :pirates
is_paranoid :field => [:alive, true, false]
end
Â
Here we have the same table acting like two models based on a default scope.  So simple, yet brilliant.  Why didn’t I think of this earlier?
Consider this:
Â
class User < ActiveRecord::Base
is_paranoid
end
class UserArchive < ActiveRecord::Base
set_table_name :users
end
Â
You could use the User model for every day use, and if you need to specifically look at inactive users, you use UserArchive. Â Spectacularly to the point. Â Of course this has uses outside the scope of is_paranoid.
Â
Posted over 2 years back at RicRoberts :
Bill wrote on his blog a few days ago about an example Rails app that he created to demonstrate the basics of how we do Linked Data content negotation at Swirrl.
As he mentions in the article, Bill put this together partly in response to a discussion on the LOD mailing list about ways of implementing the content negotiation process without reliance on Apache.
Take a look at the README in the Github Repository for more details.
Posted over 2 years back at Web On Rails


If you guys want to change timezone of your ubuntu machine then you can do it by issuing:
dpkg-reconfigure tzdata
This may be helpful if you deal with servers.
Posted over 2 years back at InfoQ Personalized Feed for unregistered user - Register to upgrade!
Ian Hickson, the editor of the HTML 5 Specification, has recently removed the required codecs from the <video> and <audio> tags of the respective draft standard citing difficulties in reaching consensus among major companies involved in distributing video and audio content on the web. By Abel Avram