If your active_scaffold copy is up to date, you should have def always_show_create in line 91 of lib/active_scaffold/config/list.rb
El Tuesday 03 February 2009 12:51:14 Sanjay Bahl escribió: > Yes its live and running on my local machine > > On Tue, Feb 3, 2009 at 4:47 PM, Sergio Cambra .:: entreCables - Symbol > > Servicios Informáticos S.L. ::. <[email protected]> wrote: > > El Tuesday 03 February 2009 10:36:10 Sanjay escribió: > >> Hi David,Sergio > >> Thanks for your reply > >> I am using Rails 2.2.2 and active scaffold 1.2 > >> > >> David's fix is working great, but Sergio' code which looks like below > >> > >> active_scaffold :todo do |config| > >> config.actions = [:create, :update, :show,:list,:search,:delete] > >> config.list.columns = [ :body, :done,:due] > >> config.columns = [ :body, :done,:due] > >> columns[:body].label = "Description" > >> columns[:due].label ="Due on" > >> columns[:done].label = "Done" > >> config.list.always_show_create= true > >> > >> end > >> > >> > >> gives the following error > >> > >> undefined method `always_show_create=' for > >> #<ActiveScaffold::Config::List:0x68dcf4c> .am i doing something wrong? > > > > Do you have an actualized active_scaffold? > > > > -- > > 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] > > -- 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 -~----------~----~----~----~------~----~------~--~---
