Hi,
I need a little help get AS work in a has_and_belongs_to_many (habtm)
situation.   It is a classic books/authors models.

class Book < ActiveRecord::Base
   has_and_belongs_to_many :authors
end

class Author < ActiveRecord::Base
    has_and_belongs_to_many :books
end

In addition to 'books' and 'authors' table, I have a 'authors_books'
table.

As for controllers:

class AuthorsController < AdminController
  active_scaffold :author
end


class BooksController < AdminController
  active_scaffold :book
end

When I access BooksController,  I see a sub-form for Author model.
I'd like to get a 'SELECT'
drop down list or authors.
(I used to use  'form_ui = :select' in the older versions)

How can I do that in the latest AS (& Rails 2.3.5)

thanks in advance
sujee maniyam

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to