I have fixed it, undoing the new parameter added to new_model, and using a new 
method, 
so it doesn't break code overriding new_model

https://github.com/activescaffold/active_scaffold/issues/727[1]



El lunes, 16 de septiembre de 2024 20:05:38 (CEST), Gloufy escribió:
> Hi Sergio I've got this error since a update activecaffold.
> 
> wrong number of arguments (given 1, expected 0)
> def show_search
> @record = new_model(false)
> super
> end
> 
> 
> 
> active_scaffold (9404878966b3)
> lib/active_scaffold/bridges/cancan/cancan_bridge.rb:51:in `new_model'
> <http://188.165.194.160:3001/filemaker/pers/show_search?kind=field_search#>
> active_scaffold (9404878966b3)
> lib/active_scaffold/actions/field_search.rb:15:in `show_search'
> <http://188.165.194.160:3001/filemaker/pers/show_search?kind=field_search#>



--------
[1] https://github.com/activescaffold/active_scaffold/issues/727

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/activescaffold/4984854.GXAFRqVoOG%40pc-sergio.

Reply via email to