Tags
Articles in Ruby on Rails
Dealing with HTTP errors in a Flex with Rails application.
The Flash Player is restricted in the way it deals with HTTP errors. This is mainly due to provide cross browser consistency and I believe is due to the restrictions the browser imposes on the Flash Player plu...
From : OnRails.org
2008 Feb 20
Readability
Readability Stats: Word Count: 490; Sentence Count: 35; Grade Level: 8.2
IronRuby vs. Ruby.NET?
In the spirit of Jon Udell's Principle of Keystroke Conservation, I'm posting a follow-up to M. David Peterson's write-up on the differences between Ruby.NET and IronRuby here. David observes correctly that...
From : Less is better
2008 Feb 13
Readability
Readability Stats: Word Count: 495; Sentence Count: 35; Grade Level: 7.2
Interesting Ruby Tidbits That Don't Need Separate Posts #14
Rubular - Online Ruby Regular Expression Editor Rubular is a new Web-based regular expression editor and tester for Ruby developers, and particularly well suited for those who don't find regular expressions p...
From : Ruby Inside
2008 Jan 20
Readability
Readability Stats: Word Count: 293; Sentence Count: 15; Grade Level: 9.6
Aliasing Global Variables in Ruby
And while I am becoming quite the language lawyer, I should mention that Ruby’s alias statement treats global variables quite differently from other kinds of variables. When aliasing global symbols...
From : jvoorhis
2008 Jan 05
Readability
Readability Stats: Word Count: 82; Sentence Count: 6; Grade Level: 8.2
Freezing Your Rails Application
Photo credit Thanks to all who asked for an article about “freezing” your Rails application. I’ll try to cover all the basics, but feel free to follow up with more questions by lea...
From : Softies on Rails
2008 Jan 05
Readability
Readability Stats: Word Count: 1617; Sentence Count: 116; Grade Level: 5.9
What's New in Edge Rails: Better Cross-Site Request Forging Prevention
Hot on the heels of the in-depth look at Rails security options comes the addition of the CsrfKiller plugin into rails core. The CsrfKiller plugin adds a unique session token field to all f...
From : Ryans Scraps
2008 Jan 05
Readability
Readability Stats: Word Count: 345; Sentence Count: 20; Grade Level: 9.8
RailsJitsu :: Programming Beautiful Ruby on Rails Code Part 1
In this article I would like to go through a list of things I have learned on how to write more readable, more beautiful, more functional Ruby and Rails code. No one learns in a vacuum (well, except f...
From : RubyCorner
2007 Dec 25
Readability
Readability Stats: Word Count: 39; Sentence Count: 4; Grade Level: 4.6
Interesting Rails Tidbits #1
We're taking a brief break from the regular "Interesting Ruby Tidbits" posts to focus on Rails™ only for a change. Rails has just made it to version 2.0 so there's been plenty of action in the community. Here ...
From : Ruby Inside
2007 Dec 12
Readability
Readability Stats: Word Count: 342; Sentence Count: 25; Grade Level: 6.4
Softies on Rails Interviews: Orbitz
Orbitz is one of the largest companies in the online travel business, and from a web development standpoint, heavily invested in enterprise technologies like J2EE and Oracle. So I was pleased to...
From : Softies on Rails
2007 Dec 10
Readability
Readability Stats: Word Count: 1289; Sentence Count: 71; Grade Level: 10.1
Ruby Rake - Invoke vs Execute
First up – I don’t know an awful lot about the magic that is Rake. As such, this is probably common knowledge to most people. I discovered the difference when trying to execute the db:migrat...
From : deferred until inspiration hits
2007 Dec 06
Readability
Readability Stats: Word Count: 196; Sentence Count: 11; Grade Level: 12.0
Inject Ruby into any running OS X application
RubyInject is an intriguing new tool that can "inject" a Ruby interpreter into any running OS X application. Why? Well, along with RubyCocoa it allows you to interact with an application "from the inside." If...
From : Ruby Inside
2007 Nov 27
Readability
Readability Stats: Word Count: 76; Sentence Count: 7; Grade Level: 5.6
Ruby 101: Naming Conventions
UPDATE: Fixed some typos in the DialUpModem example code. Ruby enforces certain coding conventions, while others are considered to be community-accepted idiomatic Ruby. I’d like to cover t...
From : Softies on Rails
2007 Oct 24
Readability
Readability Stats: Word Count: 527; Sentence Count: 38; Grade Level: 6.8
Ruby's Hidden do {} while () Loop
I found the following snippet while reading the source for Tempfile#initialize in the Ruby core library: begin tmpname = File.join(tmpdir, make_tmpname(basename, n)) lock = tmpname + '.lock' n += 1...
From : jvoorhis
2007 Oct 24
Readability
Readability Stats: Word Count: 211; Sentence Count: 22; Grade Level: 3.1
What's New in Edge Rails: Better Exception Handling
It’s a common pattern to redirect the user to, or render specific pages for different types of exceptions that are thrown in your application. Prior to this changeset this usually involved overl...
From : Ryans Scraps
2007 Oct 24
Readability
Readability Stats: Word Count: 267; Sentence Count: 6; Grade Level: 12.0
Interesting Ruby Tidbits That Don't Need Separate Posts #6
Reading Excel Files From Ruby We Heart Code posts a tutorial showing how to use the Parseexcel library, a port of a Perl library that lets you parse Excel spreadsheets from your code. How To Debug Your Rails A...
From : Ruby Inside
2007 Oct 17
Readability
Readability Stats: Word Count: 118; Sentence Count: 6; Grade Level: 9.5