ActiveRecord Refactoring Project

I am excited that Zach Dennis has taken up last year's cause of ActiveRecord Refactoring, since I never made much progress on my ActiveData efforts. Still, to help him out I've posted my pre-alpha ActiveData code, which builds on my earlier non-SQL ActiveRecord. I've pasted some excerpts below (Read More).

Restful Rails 1.2

One of the coolest new features of Rails 1.2 is the RESTful routing. In particular, the new scaffold_resource generator makes it really easy to mockup a basic resource-oriented web app with trivial amounts of code. Check it out. # rails 1.2.1# mongrel 1.0.1$ rails restful$ cd !$$ script/generate scaffold_resource Entry title:string content:text published:date# can now... Continue Reading →

Mac Home Theater, Followup

I had some wonderful responses to my Simple Mac Home Theater article. One pointed me to this incredibly helpful Mac mini Media Center article, which was recently updated for the latest Intel minis. I was also encouraged to hang out on the HTPC Mac Chat Forum, which has lots of juicy data. The most useful,... Continue Reading →

Great JavaScript-in-Ruby (RJS) Tutorial: What I Learned

My colleague Luke Burton has posted a wonderful RJS Tutorial. [Read more] for a short list of the new things it taught me. ? You can insert RJS calls in RHTML documents, not just RJS documents ? The relevant documentation is ActionView::Helpers::PrototypeHelper and ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods ? RJS handles (most) error catching for me ? You can... Continue Reading →

Really Simple Mac Home Theater?

So, we're finally moving back to San Jose (actually, Santa Clara) after three years in Sacramento. One fun aspect of buying a new house is the chance to create a home theater solution from scratch. Of course, the goal is to build it around a Mac! While there's lots of resources, most of them seem... Continue Reading →

Understanding Ruby on Rails

This presentation (pdf) explains the underlying philosophy and technologies that make Ruby on Rails so compelling (at least IMHO). It includes a tutorial for Rails 1.1.2 that covers: ? creating SQLite databases using migrations ? generating models and scaffolds ? writing controllers by hand (w/o generators) ? rjs and rhtml templates for dynamic HTML (aka... Continue Reading →

Camping on the Rails

For those who find Rails' plethora of files overkill for simple applications, there's always Camping. While still built on Ruby and ActiveRecord, Camping is optimized for the "small-app-in-a-single-file" approach.[Read more] for some links, from a friend who will remain anonymous... It's called "Camping":http://code.whytheluckystiff.net/camping/wiki/http://camping.rubyforge.org/files/README.htmlHere's a wiki implemented in Camping:http://code.whytheluckystiff.net/camping/browser/trunk/examples/tepee/tepee.rbHere's the latest post about Camping developments:http://redhanded.hobix.com/inspect/mosquitoAndDecamp.htmlThe original... Continue Reading →

Blog at WordPress.com.

Up ↑