Archive for the ‘Miscellaneous’ Category

New Edge Rails Feature: Default Scoping

In his "What's New in Edge Rails" series, Ryan Daigle has just written about "default scoping." You're probably familiar with regular named scopes on Rails models, but now there's a default_scope method that defines a scope that exists by default on find methods.
Example:
class Article 'created_at DESC'
end
The default scope also carries across, by default, to [...]

An All New Rails Security Guide

October 17th, 2008 in Documentation, Miscellaneous

Hot off the back of the Rails Guides hackfest came a lot of great new Rails documentation. Now joining that documentation comes an all new Ruby on Rails Security Guide. Clocking in at almost 11,000 words, the guide covers RJS injection, cookie store session replay attacks, session hijacking, File upload security, mass assignment of attributes, [...]

7 Barebones Rails Apps To Kick Start Your Development Process

September 18th, 2008 in Elsewhere, Miscellaneous

Back in 2005, the first Rails application a novice Rails developer produced was typically a simple blog-like system. This was in no small part thanks to a great screencast produced by David Heinemeier Hansson demonstrating how to create such a system in 15 minutes. Sadly, these screencasts have not been updated to 2008 standards, so [...]

Got a Rails App Accepting XML Input? You've Got A Fix To Do - Now.

August 23rd, 2008 in Deployment, Miscellaneous, News

The official Ruby blog announces that REXML, an XML library that comes with Ruby and is heavily used by many Ruby apps (including RAils), is vulnerable to a specific type of attack that could result in a denial of service. Core Rails developer, Michael "Koz" Koziarski has posted instructions on how to work around it.
If [...]

Going to SXSW in 2009? Vote for some Rails Panels

South by Southwest (SXSW) is a set of festivals that take place each year in Austin, TX. Over the past few years, many Rubyists have made it to the event (Twitter's initially popularity storm was brewing at SXSW 2007!) and Ruby / Rails related events have been popular. SXSW have unveiled an "Interactive Panel Picker" [...]

The 8 Most Fun Rails Jobs Available Today (August 2008)

From our Rails jobs board comes some amazing sounding jobs this month! I'm almost tempted to emigrate and apply for a few.
The working environments include a gaming startup, a skunkworks at an adult entertainment company, a house in Los Angeles, and the prestigious offices of an NYSE-listed mega-corporation. All the jobs are in the United [...]

How to Detect and Fix Slow Rails Requests

August 2nd, 2008 in Miscellaneous, Tips

Derek Haynes has written "4 Simple Steps to Detect & Fix Slow Rails Requests," an excellent guide to figuring out what's causing your Rails app to slow down, and what to do about it. The main argument is that Rails itself is not usually to blame, but instead ancillary things like database access, CPU load, [...]

Yet More Attractive Graphs: Open Flash Chart Library Ported For Use With Rails

Open Flash Chart is an open source Flash charting tool that can produce a wide range of attractive graphs and charts. Developer Charlie Snider has announced that he has ported the code to Ruby, primarily for use with Rails. He has provided a large number of demonstrations with example code. The library is LGPL (or [...]

Free PDF Guide to Adobe Flex 3 on Rails 2

DZone has released a new entry in their "Refcardz" series (short PDFs that rapidly walk through a single topic) called Flexible Rails: Flex 3 on Rails 2. It was written by Peter Armstrong of Ruboss and covers how to use Adobe's Flex technology along with a Rails 2.x application. It's well designed and packs in [...]

Yo Rails! - A Tagged Repository of Quality Rails Links

Yo Rails! is a new site that makes it easy to find quality Rails links (to tutorials, screencasts, resource sites, etc) simply by narrowing down what you want by tags. It was developed because finding certain items again using Google can prove tricky, but by narrowing down by tags, it only takes a few clicks.
It's [...]