Hello,

I have two models, A and B, A has_many B and of course B belongs_to A.

In the B, 'denominator' is an enum type (thanks to enum-column
plugin), declare like this in my migration file :
t.enum :denominator, :limit
=>[:IT114, :IT115, :IT116, :IT117, :IT118, :IT119, :IT113, :IT121]

I'm actually trying to devellop a controler, using active_scaffold:A
and when I want to create a new A, of course, I can also create a new
B ! That's just great !
But I haven't a list of the enumerations for the denominator field of
my new B to create.

The point that is strange is that when I use active_scaffold:B in an
another controller and tried to create a new B, a list of enumerations
appears !


So, my question is, how can I have the same things in the form of a
new B in the form of a new A ? (outch, pretty difficult to explain,
hope not to difficult to understand, ;-) ).


Thank you in advance !

CD

-- 
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