how to know objects' methods?

You can find this information via couple of methods:

1) the Rails documentation: http://api.rubyonrails.org/ 2) use the #methods and #instances_methods methods on any object. These methods return arrays of the available methods.

I think 1) is your best bet.

Michael Glaesemann grzm seespotcode net