
rails
Get flash to fully experience Pearltrees
twitter
scoping
caching
heroku
Rails in a Nutshell
You are reading the text of an O'Reilly book that's under development. The authors are publishing the book to this site as it's being written, and we're putting it here to get feedback from you. This book uses the Open Feedback Publishing System (OFPS) , an O'Reilly experiment that tries to bridge the gap between private manuscripts and public blogs. Rails in a Nutshell is a concise introduction to Rails, an overview of commands and configurations, and a guide to the parts of Rails you’ll be using every day. Full of examples and explanations, this book kicks your skills into high-gear by showing you how to take advantage of the Model-View-Controller concept with tiny but expressive bits of Ruby that power some of the world’s biggest and fastest web services. Fast to launch and a pleasure to get there are hallmarks of working with Rails.Compiling Ruby, RubyGems, and Rails on Snow Leopard
The first thing we’ll do is set your shell’s PATH variable. The PATH variable determines where your system searches for command-line programs. You’ll need to set it so that it can find the new apps you’re about to install. Using the editor of your choice, create and edit a file in your home directory named .profile (note the “.” preceding the filename). If you’re using TextMate like you should be and have installed the UNIX mate command , then you can create and start editing the file like this: We’re going to create a folder to contain the files we’re about to download and compile.Thread safety for your Rails
In a World of Middleware, Who Needs Monolithic Applications?
With Rack emerging as the standard for composing web applications and services, most recently with Rails adoption, an architectural shift is taking place. Learn how to create next generation web services by reusing existing Rack middleware and supplementing with your own components and micro-frameworks like Sinatra.SmutOnRails
A couple of weeks ago there was a Ruby conference in San Francisco called GoGaRuCo (Golden Gate Ruby Conference). This conference has grabbed attention due to a talk at which the presenter illustrated a discussion of CouchDB by using sexually suggestive pictures of women. Unsurprisingly the result has been a fair bit of heated, and occasionally offensive, debate. The main lines of the debate are familiar.Rails 2.0 Step by Step (part 2)
Rails 2.0 and Scaffolding Step by Step
Rails 2.0 step by step. Ruby on Rails 2.0 was released by the Rails core team on Friday, December 7th . There were quite a few changes in the 2.0 release, including the way that Rails generates scaffolding code.Chad Fowler and Rich Kilmer are well-known Ruby programmers, authors, and leaders. Along with David A. Black , they were co-chairs of the recently concluded RailsConf Europe 2008 . In this interview with O'Reilly, Chad and Rich discuss where Ruby and Rails have gone in the past year, whether RESTful composition obviates the need for ORM, what's interesting in the upcoming world of Ruby and Rails, and how Maglev, Rubinius, and other new Ruby implementations contribute to the world of dynamic languages. RailsConf Europe is coming up shortly and I thought it would be good to give our readers and listeners a sense of what's going on and not just with Rails and Ruby but with the Conference, especially for people who can't make it this year or who might think about making it next year either to the American version or European version. Let me start out by asking what's new in the world of Rails this year.
The Present and Future of Ruby and Rails
REST With Rails Part 1
In it Chad says that the Ruby community has a good tradition of weird because for years this wasn't something you could get a day job doing. Today it is. Keeping the weirdness that flourished during that time is hard. He also says "a lot of people" have complained about RubyConf being on a weekend.
Fear And Loathing At RailsConf
In essence, using ARAX, Ruby developers would not have to go through the machinations of using something like the RJS (Ruby JavaScript) utility, where they write Ruby code and RJS generates JavaScript code to run on the client, Lam said. "Sure, you could do it that way, but then at some point you might have to add some JavaScript code that adds some custom functionality on the client yourself," he said. "So there's always that sense of, 'Now I'm in another world. And wouldn't it be nice if I have this utility class I wrote in Ruby…' Today if I want to use it in the browser I have to port it to JavaScript.
Move Over, AJAX, ARAX Is Here
Rolling with Rails 2.1 - The First Full Tutorial - Part 1
Notice that most of the gems changed from the [I]nstalled status to [F]rozen. But, the HAML gems was copied but for some reason it still shows up as [I] instead of [F], probably a small bug in the Edge version. I would expect all gems to show as [F]. Anyway. Let’s say we required another gem that by itself requires native compilation, for instance, RMagick, so let’s add another line in the environment.rb file: Particularly, we have to ‘know’ that the gem is named ‘rmagick’ but it is required as ‘RMagick2’.Stone: Dead-Simple Data Persistence
For small applications, a database can be overkill for storing your data in a consistent and organized manner. Therefore, Stone was built to provide plug-and-play data persistence for any application or framework. It is fast, and it is easy… therefore it is good.If you already know why I write these tutorials, if you already have /usr/local in your path, if you’ve installed XCode installed already … in other words, if you’re an old-school Hivelogic reader, just click here to jump right to the instructions . The FAQ (Sort Of) Below I’ll walk you through getting your system ready for building and compiling open source software.

