Jade's weblog Archive

How to install plugins on Rails 3 (and workaround an issue)

$ rails plugin install http://github.com/rails/exception_notification.git
Initialized empty Git repository in .git/
warning: Option "depth" is ignored for http://github.com/rails/exception_notification.git

fatal: Couldn't find remote ref HEAD

I found the bug report here and used the workaround suggested there:

cd vendor/plugins/
git clone -q http://github.com/rails/exception_notification.git

OR EVEN BETTER

git submodule add http://github.com/rails/exception_notification.git vendor/plugins/exception_notification

09:33 AM, 25 May 2010 by Jade Rubick Permalink | Comments (1)

Don't comment your code

If you're commenting your code, it's not clear enough.

02:25 PM, 05 May 2010 by Jade Rubick Permalink | Comments (0)

Thinking of switching to Mongoid

I'm thinking about ditching mongo_mapper and moving to mongoid. Does anyone have any experiences with either on Rails 3?

I dislike the MongoMapper API, and it seems like Mongoid has a few nice features that seem like they make a big difference, like naming your keys.

11:06 PM, 02 May 2010 by Jade Rubick Permalink | Comments (1)

XML

Notifications

You may request notification for Jade's weblog.

Syndication Feed

XML

Recent Comments

  1. Jade Rubick: And... yes and no
  2. Jade Rubick: Using hoptoad
  3. Jade Rubick: Much better
  4. Bodo Tasche: Link changed :)
  5. Bodo Tasche: Better commt emails. Now with color :)
  6. Jade Rubick: Filed a ticket
  7. Vinod Kurup: Wow
  8. Jade Rubick: Then what
  9. Paul Post: Percentages
  10. Paul Post: I might be an ENFJ?