On Miércoles, 16 de Junio de 2010 10:46:07 Aladin escribió: > Using "update-column" it's possible to update another field depending > on for e.g. a select-option. In my case I need to update one field > considering the selection of three select-options. For example: User > selects "language", "Vehicle" and "Color" should result in writing > "we have 23 cars for you" in the specified language. > At the moment i can only change the output depending on the last > selection made by the user. The reason is that only the last changed > field-value of the form gets ajaxed and processed. > > Is there a solution in AS to always get the complete params send?
I have added it to master now. You can enable it with config.columns[:column_name].send_form_on_update_column = true Also I have changed options[:update_column] with update_column method, so you have to use now config.columns[:column_name].update_column = [:column_name, :another_column] In rails-2.3 branch I have added column.update_column and a deprecation warning for column.options[:update_column], but send_form_on_update_column is only in master branch. -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- 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.
