Rails 2.3 and form overrides

2009-05-19 Thread JannaB
Maybe my troubles with AS are a consequence of using Rails 2.3 ? Is anyone else using 2.3 and having simlar problems? I am trying certain form overrides, the kind you might do in your controller, like config.columns[:state].form_ui = :use_state config.columns[:dob].form_ui = :date_select And

Re: Active Scaffold (MASTER) _list_header.rhtml error

2009-05-19 Thread Sergio Cambra .:: entreCables S.L. ::.
On Martes, 19 de Mayo de 2009 16:09:51 zeal escribió: Hi all, My environment are: - Ruby 1.8.7 - Rails 2.3.2 - Active Scaffold Master.. I want a stable version of active scaffold master so that I can update it in my project. currently I am downloading master plugin from

Re: Rails 2.3 and form overrides

2009-05-19 Thread Kenny Ortmann
its not :use_state, its :usa_state. This was not working before I just committed a patch that will allow you to use form_ui = :usa_state without using a helper. Active scaffold doesn't support a form_ui type of :date_select. if you look here in the form_ui section you will see all of the

Re: Rails 2.3 and form overrides

2009-05-19 Thread Sergio Cambra .:: entreCables S.L. ::.
On Martes, 19 de Mayo de 2009 14:58:12 JannaB escribió: Maybe my troubles with AS are a consequence of using Rails 2.3 ? Is anyone else using 2.3 and having simlar problems? I am trying certain form overrides, the kind you might do in your controller, like config.columns[:state].form_ui =

Re: Rails 2.3 and form overrides

2009-05-19 Thread Sergio Cambra
On 19 mayo, 17:11, Sergio Cambra .:: entreCables S.L. ::. ser...@entrecables.com wrote: On Martes, 19 de Mayo de 2009 14:58:12 JannaB escribió: Maybe my troubles with AS are a consequence of using Rails 2.3 ? Is anyone else using 2.3 and having simlar problems? I am trying certain form

How can I do javascript validation in ActiveScaffold?

2009-05-19 Thread joausaga
Hi, How can I do some client side validation and show a confirmation popup if something is wrong? The idea is, when a user click in the create (or update) buttom, the application do some javascript validation and if all is ok create the new record but if somewthing is wrong the application show

rails 2.3 AS render_component and flash madness

2009-05-19 Thread Tim Uckun
When I upgraded to rails 2.3 I could no longer use embedded scaffolds. After much googling I followed the advice on the mailing lists and installed the render_component plugin from lacklac using script/plugin install --force git://github.com/lackac/render_component.git-r rails-edge Unfortunately

Re: rails 2.3 AS render_component and flash madness

2009-05-19 Thread Kenny Ortmann
Thank you for the second version down there. Our flash message have also been boofed, but we thought it was a problem with rails. Are your embedded scaffolds still working with the second fork? On Tue, May 19, 2009 at 6:27 PM, Tim Uckun timuc...@gmail.com wrote: When I upgraded to rails 2.3 I