You are correct. I've fixed it and submitted a pull request. On Wed, Jun 22, 2011 at 2:38 AM, vhochstein <[email protected]>wrote:
> Hi Nick, > > at least rails 3.0.9 seems to be source of your issue. Nevertheless, > if everything else is working.... > > I m not using rails 3.0.9 so far, so if you do not mind, I would > suggest that you try to fix this in activescaffold. > > Search in code for method: render_group_action_link > > I would bet by adding an additional html_safe call you will fix this > issue. > > -- > Volker > > > On Jun 21, 4:37 pm, Nick Rogers <[email protected]> wrote: > > I'm trying rails 3.0.9 with volker's fork. > > > > My model has an authorized_for_delete? method. When it returns false, the > > action links look like this. > > > > Edit <a class="disabled destroy">Delete</a> Show > > > > This does not happen in rails 3.0.7 and lower. Is this something that can > be > > fixed in active_scaffold, or another bug in newest rails 3.0.x? > > -- > 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. > > -- 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.
