well, when I use :type => :record, this works fine... but when I
use :type => :table, I'm getting an error:

Couldn't find <ModelName> with ID=<action_name>

for some reason, it's looking for a collection and not finding it

cheers

On Sep 25, 3:01 pm, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Viernes, 25 de Septiembre de 2009 15:55:45 Nellboy escribió:
>
> > Hi All
>
> > I want to add my own custom action and view within active scaffold
> > which will edit and update a number of fields from the model, but not
> > all.
>
> > I've tried this in many different ways, and with no luck at all.
>
> > I was hoping someone could help guide me in this process... I have
> > found that the required documentation to perform such a task doesn't
> > seem to be out there.
>
> You can add a link with config.action_links.add. Set the type to table if you
> want it at header, or record if you want a link for each record.
>
> Define the action in the controller, and add the view into app/views, as you
> would do usually.
>
> What problems are you getting?
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to