> Is it possible to do field override in subform ??? > > Yes, use render :partial => form_partial_for_column, like > form_association_record partial does, and it will use form overrides, both > partials and helpers. > Can you give some example code ???
My problem is class Tournament < ActiveRecord::Base has_many :participating_team end class ParticipatingTeam< ActiveRecord::Base belongs_to :team # database_field : no_of_player end While creating tournament you can create many participating_team through "Create another" view of active_scaffold. So I want to copy value of "no_of_player" column, what user has typed in first row to second row, second row to third row and so on.... or else can I show some default value for no_of_palyer column in subform --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
