Did you installed inplace editor plugin? 2009/8/24 CCH <[email protected]>
> > Hi All > > This codes work in Rails 1.2 > > active_scaffold :receivable do |config| > > config.columns[:amount_paid].inplace_edit = true > > end > > but crashes with Rails 2.3.3 + latest active_scaffold > > NoMethodError in Receivables#index > > Showing vendor/plugins/active_scaffold/frontends/default/views/ > _list_record.html.erb where line #11 raised: > > undefined method `in_place_editor' for #<ActionView::Base:0xb710f880> > > Extracted source (around line #11): > > 8: > 9: <tr class="record <%= tr_class %>" id="<%= element_row_id(:action > => :list, :id => record.id) %>"> > 10: <% active_scaffold_config.list.columns.each do |column| %> > 11: <% column_value = get_column_value(record, column) -%> > 12: > 13: <td class="<%= column_class(column, column_value) %>" > > 14: <%= record.authorized_for?(:action => :read, :column => > column.name) ? render_list_column(column_value, column, record) : '' > %> > > Trace of template inclusion: vendor/plugins/active_scaffold/frontends/ > default/views/_list.html.erb, vendor/plugins/active_scaffold/frontends/ > default/views/list.html.erb > > Any assistance would be appreciated. > > CCH > http://cch4ralls.blogspot.com > > > > > -- Cordialmente, Gabriel Sobrinho Diretor de desenvolvimento Hite - Comunicação Digital e Mídia Interativa http://www.hite.com.br/ +55 31 8775 8378 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
