I have the following models:
class Status < ActiveRecord::Base
has_many :customers
end
class Customer < ActiveRecord::Base
belongs_to :status
end
Then, in :
class CustomersController < ApplicationController
before_filter :require_associate
active_scaffold :customer do |config|
config.columns[:status_id].form_ui = :select
...
end
And I never get the select. Not for the status_id. or the id's into
any other tables. I have also tried ui_type, and again, nothing.
Am I doing something blatantly wrong that I cannot seem to get this to
work? Thanks, Janna
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---