2010/9/15 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>: >> Well, I've realized that in amster branch it's required to name the >> helpfer method starting by the controller itself, this is: >> >> module ClientsHelper >> old branch: def start_date_column ... >> master branch: def client_start_date_column > > But old name work, it's deprecated and it will be removed in next version.
Ok >> The case I've realized jsut shows a warning but still works. What do >> you mean with "full options hash"? Is it documented in the wiki? any >> link please? > > It's in form overrides, not field (list) overrides. It's documented in Form > Overrides: > http://wiki.github.com/activescaffold/active_scaffold/form-overrides Thanks :) > Old branch: > def start_date_form_column(record, input_name) > text_field :record, :start_date, :name => input_name, :id => .... > end > > Master branch: > # start_date_form_column will work but you will get a deprecation warning > def client_start_date_form_column(record, options) > text_field :record, :start_date, options > end > > So you get id in AS format, onchange event if you enable update_column, and > class names added by AS. Cool. >> In devise the controller is created during startup. You write >> something as "devise_for :web_user" and it automatically creates a >> WebUsersController, some methods and so on. With activescaffold master >> branch it fails as I shown in the error log. With 2.3.x branch it >> works perfectly. > > It's very strange, active_scaffold_controller_for has not changed. Can you > send > me your application? To me, not to the list. Yes, I will contact you by private mail. Please let me some time as I'm a bit busy today :) -- Iñaki Baz Castillo <[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.
