InfoQ Homepage Ruby Content on InfoQ
-
Rails Roundup: Rails 2.2 Will Be Threadsafe, ETags Support in Rails Edge
Work is going on to make Rails 2.2 be thread safe - we look at what's been done. Also: ETags support has been added to Rails Edge.
-
Critical REXML DoS Found - Monkey Patch Available as Fix
REXML was found to be vulnerable to XML entity explosion attacks. As frameworks like Rails parse incoming XML with REXML, these apps are in danger on all current 1.8.6, 1.8.7 and Ruby 1.9 versions, and other Ruby versions using standard REXML. The fix at the moment is a monkey patch for the REXML library.
-
Interview: Neal Ford On Programming Languages and Platforms
In this interview made by Sadek Drobi during QCon San Francisco 2007, Neal Ford talks about the tendency of having multiple languages running on one of the two major platforms existing today: Java and .NET. He also presents the advantages offered by Ruby compared to static languages like Java or C#.
-
Ruby and Rails Software Stacks Overview
A growing number of fully fledged software stacks for Ruby is available, providing all the necessary software you need to run an application, including web and database servers. They come in different flavors: virtual machine images, Amazon EC2 images and installer based. We take a look at some of them to give you an overview.
-
Rails Caching Reloaded With EHCache
Rails 2.1 brings new caching features which makes it very easy to cache any values including models. Apart of the basic File, Memory and DRb stores, Memcached was the only solution to do shared memory cache. JRuby (on Rails) can now use the popular Java distributed cache EHCache as part of its new Cache stores thanks to Dylan Stamat.
-
Presentation: Do The Hustle
In this presentation at RubyFringe, Obie Fernandez shares his experience selling consulting services for both Thoughtworks and Hashrocket and gives advice on how developers/consultants can deal with clients by setting minimal requirements, saying "No" and how to choose hourly rates and much more.
-
JRuby Roundup: Java Integration and Debugging (JSR-45) Improvements
Some recent changes on the JRuby trunk improve Java Integration, which allows JRuby to interact with pure Java code faster and more conveniently. Also: Ruby code compiled with JRuby's (JIT) compiler can now make use of the JVMs debugging capabilities using JSR-45 (Debugging Support for Other Languages).
-
Pros and Cons of GitHub vs RubyForge as Gem Source
GitHub recently added its own RubyGems server with an integrated Gems release process. Only problem: these Gems are not automatically available because RubyGems defaults to RubyForge as source. We talked to RubyGems maintainer Eric Hodel, PJ Hyett from GitHub, and Tom Copeland from RubyForge about the problems and possible solutions.
-
Security Vulnerabilities in Safe Level, WEBrick, Dl, DNS lookup
A few security vulnerabilities were discovered in Ruby 1.8.5 to 1.8.7 and 1.9.x. The vulnerabilities are found with safe levels, WEBrick has a DoS vulnerability in a particular regular expression, shared library API dl doesn't check taintedness and resolv.rb has a problem with DNS spoofing.
-
XHTML 2 and HTML 5 continue to diverge
These two specs have quite different purposes and solve two distinct problems. XHTML 2 is document-centric. HTML 5 is targeted at sites that aren't best represented by a document. Both are supported by the W3C. Is another standards war brewing?
-
Talking with Ivan Porto Carrero about IronNails
A new project has been created for developers using IronRuby to write applications with a Ruby on Rails like experience. The project is called IronNails and is ready for developers to give it a go today.
-
Ruby PDF Generation Made Easier and Cleaner with Prawn.
There are several existing ways to generate PDF with Ruby. Unsatisfied with existing solutions, Gregory Brown decided to design his own faster library, which uses a DSL approach to generate PDF. InfoQ caught up with Gregory, who also founded a community funded development venture: Ruby Mendicant.
-
Interview: John Lam About IronRuby
In this interview, John Lam, Program Manager on the Dynamic Language Runtime team at Microsoft, talks about IronRuby, what it means to .NET supporters and how it has been received by the Ruby community.
-
Apple and Ruby Roundup: iPhone Config Utility on Rails, SproutCore Tools in Ruby
Ruby pops up in some recent software provided or used by Apple. The iPhone Configuration Web Utility for Enterprises is built on Rails. SproutCore, which powers the client side of Apple's MobileMe, uses Ruby for tooling and Merb for static content generation.
-
Interview: Guy Steele on Programming Languages
Floyd Marinescu, co-founder of InfoQ, interviewed Guy Steele, a Sun Fellow working for the Programming Language Research Group at Sun, about programming languages, the lessons to be learned from the past and what to expect from the future.