Thanks you very much Sergio, it works. But I have another question: in my application, people can leave comments on services they have used. So i want if someone leave a comment, the author (or user_id) to be set automatically from current_user login.
I have tried to use a before_filter method, but it still not working. Thanks in advance for your help. On 29 oct, 10:01, Sergio Cambra <[email protected]> wrote: > Try changing :services with :service_ids, and add :name => 'record > [services][]' to the last hash. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
