got an error unfortunately, I see:

wrong number of arguments (2 for 0)

vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:39:in `initialize'
vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:39:in `new'
vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:39:in `add'
vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:39:in `each'
vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:39:in `add'
vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/
columns.rb:27:in `initialize'
vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb:
102:in `new'
vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb:
102:in `initialize_without_calendar_date_select'
vendor/plugins/active_scaffold/lib/bridges/calendar_date_select/lib/
as_cds_bridge.rb:5:in `initialize'
vendor/plugins/active_scaffold/lib/active_scaffold.rb:56:in `new'
vendor/plugins/active_scaffold/lib/active_scaffold.rb:56:in
`active_scaffold'
app/controllers/recurring_controller.rb:2

On Jan 29, 5:09 pm, greghauptmann <[email protected]> wrote:
> thanks - I'll give this a go
>
> On Jan 28, 6:21 pm, "Sergio Cambra .:: entreCables - Symbol Servicios
> Informáticos S.L. ::." <[email protected]> wrote:
>
> > El Tuesday 27 January 2009 06:47:44 greghauptmann escribió:
>
> > > Hi,
>
> > > How can I make default value for "form_ui" for all associations fields
> > > be "select" (not "crud")?  (i.e. throughout all controllers that use
> > > activescaffold)
>
> > Try putting in an initializer (a file in config/initializers):
> > class ActiveScaffold::DataStructures::Column
> >   def form_ui
> >     @form_ui ||= :select unless self.association.nil?
> >     @form_ui
> >   end
> > end
> > --
> > Sergio Cambra .:: entreCables S.L. ::.
> > Nicolás Guillén 6, locales 2 y 3. 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
-~----------~----~----~----~------~----~------~--~---

  • ho... greghauptmann
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... greghauptmann
        • ... greghauptmann
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to