From: "Bla ..." Date: 2011-02-21T23:48:01+09:00 Subject: Re: Html + Javascript + Ruby i get this: You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[] -- Posted via http://www.ruby-forum.com/.