I just encountered this problem today - and the changes below fix the
argument error.
But important functions like active_scaffold_input_file_column seem to
be missing and
so the file_columns are rendered as normal text fields.

To get this working again i changed two more files

bridges/file_column/lib/form_ui.rb
change the line
module FormColumns
to
module FormColumnHelpers

bridges/file_column/lib/list_ui.rb
change the line
module ListColumns
to
module ListColumnHelpers

not sure if this is a typo or it should better be included im
bridge.rb or it breaks other things
but for the little project i'm implementing it works quite well...

/roman

On 2 Dez., 20:43, Dave <[email protected]> wrote:
> I was able to work around this by commenting out the first 5 lines
> in bridges/file_column/lib/as_file_column_bridge.as, like so:
>
> #module ActiveScaffold::DataStructures
> #  classColumn
> #    attr_accessor :file_column_display
> #  end
> #end
>
> And then adding that accessor directly to the beginning
> of lib/active_scaffold/data_structures/column.rb, like so:
>
> attr_accessor :file_column_display
>
> I don't know if it's something new in Rails 2.2 about how
> modules and classes extend/mix-in, or if it's a namespace
> or dependecy ordering issue with the recent lib directory
> re-org in activescaffold.
>
> If someone finds the proper fix for this issue, please post!
>
> -dave

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to