What's all the fuss about. We are used to not being able to use the MS Windows logo or name (or pretty much anything else) without either their permission or paying money or both. So it appears that Rails is now indeed becoming mature like Windows. If people don't like this there are ...
Welcome to this week’s roundup of Ruby news, articles, videos, and more, cobbled together from my e-mail newsletter, Ruby Weekly. Highlights include: MRI 1.9.3-p327, Rails 3.2.9, Capybara 2.0, and the Fukuoka Ruby Award. Featured Ruby 1.9.3-p327 Released: Fixes a Hash-Flooding DoS Vul...
Highlights include: Passenger 4.0 gets support for JRuby and Rubinius, Ben Orenstein's awesome refactoring video, Pat Shaughnessy's new 'Ruby Under a Microscope' book, AWS adds Ruby support to Elastic Beanstalk, and more.
HotRuby is a JavaScript and Flash powered virtual machine that can run Ruby code compiled to opcode by YARV. You can write Ruby script within a Web page within <script type="text/ruby"> .. </script> tags, and HotRuby will then extract it, send it to be compiled by a remote script, and...
This Week in Ruby: JRuby 1.7.0, Passenger 4.0b1, Ruby 2.0 Feature Freeze By Peter Cooper / October 25, 2012 Welcome to this week's Web-based syndication of Ruby Weekly , the Ruby e-mail newsletter. Highlights include: a massive release for JRuby, a promising beta for Phusion Passenger...
Sidekiq Pro: A Commercial, Supported Version of Sidekiq Sidekiq is a efficient background job processor (think Resque on steroids) that's free and open source, but creator Mike Perham is now offering a commercial variant with extra features and support.
This Week in Ruby: What to Expect in Rails 4.0 talk, EventMachine tutorial, and StrongParameters hit Edge Rails By Peter Cooper / September 20, 2012 Welcome to this week's Web-based syndication of Ruby Weekly. Featured Yehuda Katz Needs Your Input on the Tokaido (a.k.a. rails.app) UI ...
Active Admin is a popular administrative interface generation system for Rails and a new version has been a long time coming. 0.5 introduces batch actions (i.e. select multiple rows and delete them all), a customizable root route, and more view components and factories.
fog is a Ruby gem by Wesley Beary to control a variety of cloud services through a unified API . It deals with both server cloud and storage based services and supports Amazon S3 and Rackspace Files; as well as servers and on Amazon EC2 , Rackspace Servers, Terremark vCloud and Sliceh...
Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature By Peter Cooper / May 13, 2009 New to Ruby 1.9 is the concept of fibers . Fibers are light-weight (green) threads with manual, cooperative scheduling, rather than the preemptive scheduling of Ruby 1.8's threads. Since Ruby ...
Tell, Don't Ask (with Ruby Objects) Bad for your relationships but good object oriented programming advice. Ben Orenstein shows off some quick before and after examples of telling your objects what to do rather than querying them to make decisions.
Xavier: Here's a patch which might help you understanding r31875. https://gist.github.com/1009750 Thanks for your contribution about loading time of 1.9.3. I think you saved CRuby committers from lots of claims about loading time, as well as Rails users :) As you see in load.c (and mi...
I hang out in #nwrug on Freenode, the IRC channel of a Ruby user group here in the UK, and floated the idea of doing a PostgreSQL (a.k.a. Postgres) installation tutorial for Ruby Inside. Coincidentally, it turned out 37signals sysadmin Will Jessop was already working on one so, I pres...
SimpleCov is a code coverage analysis tool for Ruby 1.9. It uses 1.9’s built-in Coverage library to gather code coverage data, but makes processing it’s results much easier by providing a clean API to filter, group, merge, format and display those results, thus giving you a complete c...
Ok, we don't definitely need a flame war about something as important as testing your code. IMHO it really depends on the developer and the team, I wouldn't be the first to say that should use what you're more comfortable working with, and hopefully what makes you even more productive...
This Week’s Ruby News: Ruby 1.8.7-p370, Rubyist Text Editor Poll Results, MagicRuby and More By Peter Cooper / July 6, 2012 Welcome to this week's Web-based syndication of Ruby Weekly , the Ruby e-mail newsletter (which just turned 100 weeks old this week - issue 100! :-)) Highlights ...
'Programming in CoffeeScript' by Mark Bates, Now Available Mark Bates, a Ruby developer, was won over by CoffeeScript and has written a book for Addison-Wesley which has now been published. Despite being a language that compiles down to JavaScript, CoffeeScript has become relevant to ...
The Ruby on Rails Tutorial: Learn Rails by Example (a.k.a. railstutorial.org ) by Michael Hartl has become a must read for developers learning how to build Rails apps. Michael has put together a great Rails 2.3 tutorial, releasing it all for free online chapter by chapter. Now, Michae...
Screencast: Coding Conway’s Game of Life in Ruby the TDD Way with RSpec By Peter Cooper / November 2, 2011 Recently, there have been many screencasts of people coding things in real time. Yesterday, Ryan Bigg released a video of him implementing Conway's Game of Life from scratch by r...
Further Googling led me to some interesting discussions about autoload . Back in December 2008, a whole group of Ruby luminaries got into a discussion about autoload's issues with threads . Turns out that even though several projects have been adopting autoload in anger recently, ther...
Over a year ago we had a post about how to build OS X GUI applications with Ruby and RubyCocoa. Since then, however, MacRuby has arrived on the scene. Not just the regular version of Ruby with some bindings to Cocoa, MacRuby is as native to OS X as JRuby is native to the JVM. It's a s...
Rails 3.2.6 Released: Fixes More Vulnerabilities Rails 3.2.4 was released a few weeks ago fixing two serious security vulnerabilities (explained in another post below). Rails 3.2.5 then followed a day later as 3.2.4 introduced a nasty scoping bug.. and.. now Rails 3.2.6 to continue to...
Disclaimer: Scout is a commercial service. I have received no compensation for mentioning this service and am posting about it merely due to my own interest in it. Scout is a new "a la carte" monitoring and reporting service, primarily for tracking servers and Web applications, develo...
Someone / some people who have been responsible for integrating Ruby and Rails into the latest version of Mac OS X (Leopard) have written some notes on what was involved and how Ruby and Rails work in Leopard . The Ruby build is a customized 1.8.6 p36 and actually integrates into Xcod...
Sorry, my inner coder/pedant came out. What I'm trying to say is that using whole words isn't really optimal. Why? You suffer from a sparsity problem. The probability of seeing even a common word is very small. This means that you need more training data to get equal coverage. Actuall...
JRuby 1.7.0 Preview 1 Released 1.7 is proving to be a big release for JRuby and the first preview is out. A key change is that Ruby 1.9.3 is now the default runtime mode (but 1.8 is still available as an option) and support for Java 7's invokedynamic brings some major performance boos...
"at least recognizing that Wayne did his damnedest to solve this problem the best he could figure how, and thus word his critique a little more gently, he just goes straight for the attack." I see this sort of thing a lot. "Yeah, it is crap, but I worked hard on it! Give me a cookie" ...
Yesterday, Matz made a commit to the MRI Ruby repository bumping the trunk version from 1.9.4 to 2.0.0 , marking the start of the work of implementing the long-discussed ideas for Ruby 2.0. What is Ruby 2.0? Ruby 2.0 is the next major version release of MRI Ruby, the de facto official...
Another advantage of messaging is that, if designed properly, you could experience no downtime when redeploying backend services . Consider the scenario with uploading images I mentioned previously. If the communication were synchronous and the "scaler" were down, any request to the s...
This works on OS X (screenshot of result is at the top of this post) but it's all generic so if you can get JRuby and the SWT JAR and support files for your platform, this same code will render a native looking window with a label and button control on whatever platform you're running...