Articles

Wesley Beary and fog Promoted to the Engine Yard Open Source Program

There's a lot of muscle under the hood of the Engine Yard AppCloud and xCloud offerings providing Rails/Ruby automation, management and support. I am ecstatic to announce that a critical layer of our automation -- fog, the Ruby library for cloud computing and provisioning, along with its creator Wesley Beary -- are being promoted to the Engine Yard Open Source Program!

RSpec 2.0 Released: Ruby’s Leading BDD Framework Grows Up

9 months in the making comes RSpec 2.0, the latest major version of Ruby's most popular behavior driven development (BDD) framework (now at a gem install rspec near you). Kudos to the 82 contributors and RSpec's team lead, David Chelimsky.

How Santiago Pastorino Went From Ruby Newbie to Rails Core in 2 Years

Just a month ago, David Heinemeier Hansson welcomed Rails' newest core team member, Santiago Pastorino.

MacRuby 0.7 Released: More Stability and Easier Sandboxing

http://www.macruby.org/blog/2010/10/01/macruby07.html (or on Ruby Inside)

Ruby 1.9.2 Released

Yuki (Yugui) Sonoda has just announced the release of the stable version of Ruby 1.9.2!
Ruby 1.9.2 has been released. This is the newest release of Ruby 1.9 series. Ruby 1.9.2 is mostly compatible with 1.9.1, except the following changes:

Building “skinny daemons” in Ruby

http://labs.headlondon.com/2010/07/skinny-daemons/ (or on Ruby Inside)

Mongomatic: A New Ruby MongoDB Library Hits The Scene

http://mongomatic.com/ (or on Ruby Inside)

14 Ruby and Rails Jobs for August 2010

It's been a couple of months since the last job round up but the Ruby Inside job board has been hopping! There are 14 live listings to go over today and they're not all in San Francisco. Jobs in Denver and Maryland bring in a bit of interesting variety.

The 2010 Ruby Implementation Performance Shootout

Redmine 1.0 Released: Ruby’s Top Project Management Webapp Hits Maturity

http://redmineblog.com/articles/redmine-1.0.0-released/ (or on Ruby Inside)It's out, it's out. Redmine 1.0 is released!
The first release candidate for Redmine 1.0 has been released to Rubyforge. This is a major release which includes many new features and bugfixes since the last major release, (0.9 in 2010-01-09).

Articles | Rails Fire

Articles

Login to rubyCAS from a form

Now, as with most places, the root url for our site points at the signup-form. It's there to tempt new users to join us and start creating a new dating site immediately.
But our existing users will usually hit this page first too.

#350 | “Vanity - Experiment Driven Development” in Category: Advanced Knowledge/Digging Deeper

»Synchronizing Core Data With Rails 3.0.0.pre«

Holiday Fun: How Programming Language Fanboys See Each Others’ Languages

superfriends.pngOvert humor isn't usually Ruby Inside's thing, but it's the holiday season, so there's nothing wrong with kicking up your heels and having a little fun. Don't worry - this won't become a habit. Promise! After the fold, check out a chart showing how programming language fanboys (Ruby's included) see each other's respective languages.

Is RSpec too complex for Rails Tutorial?

I've gotten feedback that RSpec may be too complex for the Rails Tutorial book. Though I mainly use RSpec myself, there are advantages to using the default Test::Unit framework. If I'm ever going to switch from RSpec to Test::Unit, now is the time, since subsequent chapters will have many more tests and would require much more rewriting to change. I've set up a survey to get reader feedback about testing frameworks; please let me know what you think by taking the survey here.

Cucumber 0.5 + Textmate bundle not running @wip

This is a quick one.

Cucumber's recent version bump includes a new and improved html report generator (for textmate users, at least) borrowing javascript from rspec. That is to say, when you run your features it will be more like when you run your specs, progress bar and so on. I like that now it shows undefined step snippets in the textmate window in a usable form, that's a timesaver.

Friendly: Easy Schemaless “NoSQL” Data Storage with MySQL in Ruby

friendly.png Friendly is a new Ruby ORM (a la ActiveRecord) that lets you easily use NoSQL ideas on regular database engines, such as MySQL.

Generic Actions in Rails 3

So Django has an interesting feature called “generic views”, which essentially allow you to to render a template with generic code. In Rails, the same feature would be called “generic actions” (just a terminology difference).

This was possible, but somewhat difficult in Rails 2.x, but it’s a breeze in Rails 3.

Let’s take a look at a simple generic view in Django, the “redirect_to” view:

Happynerds – Programming Links for Kids

Happynerds – Programming Links for Kids

A guest post by Michael Kohl.

What's New in Edge Rails: Set Flash in redirect_to


This feature is schedule for: Rails v2.3 stable

Rails’ flash is a convenient way of passing objects (though mostly used for message strings) across http redirects. In fact, every time you set a flash parameter the very next step is often to perform your redirect w/ redirect_to:

hack 015: Building Shoes for Windows: rebuilt the deps files with Ruby 1.9.1p376 and add some extensions

Inline file upload - iframe - ajax - Ruby on Rails | Rails Fire

Inline file upload - iframe - ajax - Ruby on Rails

In View

<% form_for(@images, :url => formatted_images_path(:format => 'js'), :html => { :multipart => true,:target => 'upload_frame' }) do |f| %>
Image
<%= f.file_field :uploaded_data, :size => "50" %>
<%= f.submit :Submit %>
<% end %>
< id="'upload_frame'," name="upload_frame" style="width:1px;height:1px;border:0px" src = "about:blank">

in controller
def create
@image = Image.new
if @image.save
respond_to do |format|
format.js do
responds_to_parent do
render :update do |page|
page.replace_html 'imgupload', :partial => 'imageupload',:object => @images
page.visual_effect :highlight, "image_#{@image.id}"
end
end
end
end
end
end