hmmm, maybe doing it with permissions might work, create_permitted? only when the scoped count == 0?
On May 11, 2:42 am, mkim <[email protected]> wrote: > Hello, > > I have a belongs_to/has_many relationship set up. I'm using > auto_actions_for :my_model, :create so I can have an inline form > for :my_model. Is there way to limit this to a single new model. > has_one comes to mind, but I really like the inline :create that hobo > provides with :has_many. Moreover, some cases will have many and not > just one. > > I'm hoping there's a dryml snippet that will do this. > > Thanks guys.... > > Mike > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" 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 > athttp://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
