Jamis Buck

AssetsGraphed: Part 3


over 5 years ago by Jamis Buck on The Rails Way - all.
Working in the AssetsGraphed source code has been fun, and I want to take this chance to thank John Topley once again for submitting it. He’s done a great...

More inline RJS


over 5 years ago by Jamis Buck on the { buckblogs :here }.
In Inline RJS I talked about invoking simple RJS actions right there in your controller. Did you know you can do the same in your views, with (among other...

SQLite3/Ruby 1.2.0


over 5 years ago by Jamis Buck on the { buckblogs :here }.
After nearly 2 years, I’m happy to announce the release of a new version of sqlite3-ruby. This version is primarily a bug-fix release, so don’t expect...

Refactoring RJS


over 5 years ago by Jamis Buck on the { buckblogs :here }.
For today’s tip, I’m going to be cheap and just point you at someone else’s post. :) It’s a good post, though, and it fits right in with my recent...

Extending render


over 5 years ago by Jamis Buck on the { buckblogs :here }.
Yesterday’s tip demonstrated how to refactor common RJS bits into their own method. Specifically, it gave an example that created a special render_error...

Concerns in ActiveRecord


over 5 years ago by Jamis Buck on the { buckblogs :here }. [Linked from: Ruby Inside]
Ruby does not support multiple-inheritance. Personally, I have mixed feelings about that, but the fact of the matter is, you can accomplish almost exactly...

ActiveRecord association scoping pitfalls


over 5 years ago by Jamis Buck on the { buckblogs :here }.
ActiveRecord’s associations let you specify just about every option that ActiveRecord#find accepts. Want your account’s people returned in sorted order...

Managing Rails versions with Capistrano


over 5 years ago by Jamis Buck on the { buckblogs :here }.
The simplest way to deploy your application and tie that release to a specific Rails version is to put Rails in your vendor directory as an svn:external...

Haml 1.0


over 5 years ago by Jamis Buck on Riding Rails.
Since we’re all celebrating new releases, it seems only fair to point out that Haml, an alternative markup format to Rails’ RHTML templates, has reached...

Dependency checking with Capistrano


over 5 years ago by Jamis Buck on the { buckblogs :here }.
Nathan de Vries recently posted a neat tip for using Capistrano to determine whether or not your remote machines have all your expected dependencies installed...