I'm using active scaffold with rails 2.3.2 and after updating to latest active scaffold version my application is broken. I have the following errors:
1. source: app/views/partials/shared/_includes.rhtml error: undefined local variable or method `include_tiny_mce_if_needed' for #<ActionView::Base:0x48843f8> 39: <%= javascript_include_merged :base %> 40: 41: <% # javascript_include_tag 'redbox' %> 42: <%= active_scaffold_includes if include_a_s %> 43: <%= javascript_include_tiny_mce_if_used %> 44: <%= tiny_mce if using_tiny_mce? %> 45: trace: C:/sandbox/appname/vendor/plugins/active_scaffold/lib/bridges/tiny_mce/ lib/tiny_mce_bridge.rb:14:in `active_scaffold_includes' C:/sandbox/appname/app/views/partials/shared/_includes.rhtml:42:in `_run_rhtml_app47views47partials47shared47_includes46rhtml_locals_includes_object' C:/sandbox/appname/app/views/layouts/shared/admin.rhtml:8:in `_run_rhtml_app47views47layouts47shared47admin46rhtml' I have the tinyMCE plugin installed and the application worked well before updating the active scaffold plugin. 2. source: /vendor/plugins/active_scaffold/frontends/default/views/ _list_record.html.erb error: undefined method `empty?' for "#<User:0x45d12dc>":User 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) : '' %> 15: </td> 16: <% end -%> 17: <td class="actions"> trace: C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ associations/association_proxy.rb:215:in `method_missing' C:/sandbox/appname/vendor/plugins/active_scaffold/lib/active_scaffold/ helpers/list_column_helpers.rb:86:in `render_list_column' C:/sandbox/appname/vendor/plugins/active_scaffold/frontends/default/ views/_list_record.html.erb:14:in `_run_erb_vendor47plugins47active_scaffold47frontends47default47views47_list_record46html46erb_locals_dont_show_calculations_hidden_list_record_list_record_counter_object' C:/sandbox/appname/vendor/plugins/active_scaffold/lib/active_scaffold/ data_structures/action_columns.rb:73:in `each' C:/sandbox/appname/vendor/plugins/active_scaffold/lib/active_scaffold/ data_structures/action_columns.rb:60:in `each' It seems that the active scaffold is trying to use 'empty' method that is not defined by the active record. Any ideas about the cause of these errors? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
