Hello,
I want to display value from associated model in a column of an
active_scaffold
class TermsController < ApplicationController
active_scaffold :terms do |config|
config.columns = [
...
:market.volume
]
end
end
class Terms < ActiveRecord::Base
has_one :market
end
What is the correct way to specify the column to show up in scaffold?
--
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.