Sorry, because this is Rails related but it seems not answers are
forthcoming from the Rails list.

I am working from the Ruby for Rails book , the r4rmusic app.
All the code is already completed.

However I want to know how or if it's even possible to access methods
both within the controllers or models via the script/console ?

Example
class Composer < ActiveRecord::Base
  has_many :works,
           :order => "title"

def publishers
    works.editions.publishers.uniq
  end

..................

end

How could i access the publishers method via the console ?
Hope this makes sense.

TIA
Stuart