class SamplesController < ApplicationController
active_scaffold :sample do |config|
config.columns[:user].form_ui = :select
end
end
Regards,
Kerry
Daniel_cooper wrote:
> Hi,
>
> I've got two models -> user, show with a HABTM
>
> Is there anyway that when creating a new show I can disable the
> ability to create a new user - and force the user to select from the
> dropdown?
>
> Thanks,
> Daniel
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---