Gyre is a curious new Ruby / Rails IDE, developed by Adam Wiggins, that runs within your Web browser. There are obvious downsides, but the upside is consistent behavior cross-platform. Gyre’s in a ‘pre-pre-pre alpha’ state but is downloadable for you to give it a try. If you have a review or comments about it, there’s a Google Groups hosted mailing list to post to, or you can leave your comments here at Ruby Inside. Read More
GeoKit is a new Rails plugin developed by Bill Eisenhauer and Andre Lewis that provides several powerful geocoding related features:
- Location and distance finders for ActveRecord models.
- Distance calculations between any points on the earth.
- Multiple provider geocoding (Google, Yahoo, Geocoder.us/ca) with fallback support.
- IP-based location lookup.
The ActiveRecord finders are really slick, check out this example:
Location.find(:all, :origin =’Irving, TX’, :conditions =["distance < ? and city = ?", 5, 'Coppell'])
The developers have blogged about their new creation here and here Read More.
Dominic Da Silva has put together a comprehensive tutorial for the official Amazon Web Services developer site demonstrating how to develop an Amazon S3 client application with Ruby on Rails. Read More
Devalot is a new software project management tool developed in Rails, in a similar vein to Collaboa, developed by Peter Jones of pmade inc. Devalot offers some exciting features for software project sites with wiki features built in, a blog system, ticketing, and more. It’s free, and there’s more information about the official Devalot site. I caught up with Peter for a quick chat about his motivations and where Devalot fits in with other, established systems.
Ruby Inside: What was your motivation for developing Devalot? Weren’t existing solutions good enough?
Peter Jones: I’d love to say that I’m breaking new ground here, or solving new problems, but you’re actually looking at a classic case of hubris. Read More
Akhil Bansal has created a cool bash script that will create a new Rails project, import it to an SVN repository, then remove and ignore log files, sessions, temporary files, and set up database.yml correctly. I was previously using a Rake task for this, but installing this script at the OS level might prove easier for me in future. Read More
For the past few months Peter Szinek has been giving me lots of tasty tidbits about his forthcoming ScRUBYt Web-scraping toolkit, and now it’s finally fully released to the public! Peter describes ScRUBYt as “WWW::Mechanize and Hpricot on Steroids” and this description is pretty bang on.
As well as providing a simple DSL for performing Web actions (clicking links, submitting forms, etc.), one of ScRUBYt’s most impressive features is that you can provide it with ‘example’ data from which it will extrapolate a search pattern and then find any other similar data within the same page. This is demonstrated perfectly by Peter’s basic example:
ebay_data = Scrubyt::Extractor.define do
fetch ‘http://www.ebay.com/’
fill_textfield ‘satitle’, ‘ipod’
submit
click_link ‘Apple iPod’
record do
item_name ‘APPLE NEW IPOD MINI 6GB MP3 PLAYER SILVER’
price ‘$71.99′
end
next_page ‘Next >’, :limit => 5
end
This code goes to ebay.com, looks for iPods, and then extracts all records using a dummy one as an example. Read More
Eric Kidd has put together a fun blog post where he looks into 13 ways of looking at Ruby’s symbols (:x, :test, etc). If your understanding of Ruby’s symbol class isn’t one of your strong points, check it out. Read More
Here’s the official announcement:
On Your Mark…Get Set…GO! Registration for RailsConf 2007 Is Now Open!
There are two good reasons to register now for RailsConf 2007. One, last year’s inaugural conference sold out in just a few days. Two, you’ll save $150 if you register before March 19. So don’t wait — register today.
Co-produced by O’Reilly Media and Ruby Central, RailsConf is the largest official conference dedicated to everything Rails. This year, it’s taking place May 17-20 at the Oregon Convention Center in Portland, and it promises to be the best conference yet.
DHH has a little more to say about it, but don’t hang around.. Read More
This month I’m the guest judge and challenge provider of On Ruby and Apress’s “Ruby Blogging Contest”. The challenge question is “How has Ruby blown or stretched your mind?” If you blog your answer to that, you could win three free books from Apress. There’s a bit more to it than that though, so check out the challenge in full and get thinking.
All you have to do is blog about how Ruby has blown or stretched your minds (the more citation of actual language features or constructs the better) and then post a link to your blog post in the comments section of this page. Read More
I was just about to go to bed but a Why release is too good to miss. Why The Lucky Stiff has announced the immediate release of Hpricot 0.5. For those who haven’t had the good fortune of getting down and dirty with Hpricot yet, it’s basically a killer HTML parsing library for Ruby. It lets you use magic like CSS notation and XPath to hack away at HTML documents (and XML generally, if you’re willing).
If you’re already a fan, just do this to get on to the new version: gem install hpricot –source http://code.whytheluckystiff.net/ Read More
Charles Nutter is asking for help in squashing Rails bugs with JRuby. It seems full support for Ruby on Rails with JRuby is only just over the horizon, with over 90% coverage of ActiveRecord and ActiveSupport so far. Charles provides instructions on how to set up Rails with JRuby and run your own tests.
Once JRuby supports Ruby on Rails 100%, a second deployment option for thousands of Rails applications suddenly becomes available, and with the impressive performance gains and optimizations becoming available in JRuby, significantly faster Web apps could soon result. Read More
Mark A. McBride has put together a great article about processing credit cards with Ruby on Rails using the Active Merchant plugin. Read More
Josh Susser is reporting on Mark Carey’s announcement that the “SDForum Ruby Conference” (informally known as the Silicon Valley Ruby Conference) is now requesting papers for the conference taking place between April 21-22, 2007. Interested parties can submit their proposals to proposals2007 [at] rubysf [dot] net. All proposals submitted before February 4, 2007 will be given consideration, and those submitted after then may not, so if you want a chance to give a presentation, you need to be quick! Read More
The unstoppable Geoffrey Grosenbach has just announced he’s running a one-day Ruby workshop in Salt Lake City on March 15, the day before the Mountain West Ruby Conference. The workshop will focus on Web application development with Rails 1.2. Read More
Derek (usernamed perraultd) shows us how to rewrite your Rails application’s database.yml file to manually prompt you for database authentication information when your Rails app starts. This might not be of much use in automated deployment environments, but it demonstrates the dynamism of the templating system (I didn’t even realize database.yml was processed in this way). Read More